<div dir="auto"><div><br></div><div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Den lör 10 juli 2021 03:13Phillip Hallam-Baker <<a href="mailto:phill@hallambaker.com">phill@hallambaker.com</a>> skrev:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 8, 2021 at 12:24 AM Sampo Syreeni <<a href="mailto:decoy@iki.fi" target="_blank" rel="noreferrer">decoy@iki.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2021-03-29, Peter Gutmann wrote:<br>
<br>
>> For that matter, what's wrong with Counter Mode?<br>
><br>
> It turns any strong block cipher into the functional equivalent of <br>
> RC4. So what you're saying there is "what's wrong with RC4"?<br>
<br>
Functional equilent of RC4, isn't the same as RC4, as a bad cipher.<br>
<br>
If you substitute a better cipher for RC4 in said construction, <br>
suddently it can become secure as fuck.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">I read 'functional equivalent of RC4' as being a stream cipher.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This application absolutely cannot accept a stream cipher.</div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><div style="font-family:sans-serif" dir="auto">There are various constructions for format preserving encryption, intended to work for encrypting stuff of arbitrary but fixed sizes (like database fields with format restrictions) without changing their size. Suppose you could use one of those to put together a 64 bit mode?</div><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">Or make your own Feistel network from hash functions truncated to 64 bit outputs. </div></div><div dir="auto"><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>