15,167,809 members

# The Weird and The Wonderful

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 Re: Does anyone recognized this "decryption" algorithm? Gary R. Wheeler23-Nov-21 14:50 Gary R. Wheeler 23-Nov-21 14:50
 Re: Does anyone recognized this "decryption" algorithm? den2k8823-Nov-21 21:49 den2k88 23-Nov-21 21:49
 Re: Does anyone recognized this "decryption" algorithm? PIEBALDconsult24-Nov-21 2:53 PIEBALDconsult 24-Nov-21 2:53
 Re: Does anyone recognized this "decryption" algorithm? Eddy Vluggen26-Nov-21 11:26 Eddy Vluggen 26-Nov-21 11:26
 Re: Does anyone recognized this "decryption" algorithm? Philippe Verdy26-Nov-21 4:32 Philippe Verdy 26-Nov-21 4:32
 Re: Does anyone recognized this "decryption" algorithm? harold aptroot26-Nov-21 6:08 harold aptroot 26-Nov-21 6:08
 Re: Does anyone recognized this "decryption" algorithm? PIEBALDconsult26-Nov-21 11:00 PIEBALDconsult 26-Nov-21 11:00
 Re: Does anyone recognized this "decryption" algorithm? harold aptroot26-Nov-21 11:27 harold aptroot 26-Nov-21 11:27
 IDK. I don't really want to call it an affine cipher, it kind of is, but that name is mostly used when the letters are independent, which here they are not (the upper byte of a block has four letters mixed together, the lowest byte in a block is the same as in a normal affine cipher though). Maybe it can be called an "affine block cipher", and there are some references to such a thing, but too few to really make sense. Also, the addition missing (or adding zero I suppose) is possibly important enough to warrant a different name, because it enables a fun "sum of ciphertexts decodes to the sum of corresponding plaintexts" attack, without needing any knowledge of the keys. It's not MMB, which is really close, but that uses a different modulus (for less asymmetric mixing).
 Re: Does anyone recognized this "decryption" algorithm? brian012528-Nov-21 17:53 brian0125 28-Nov-21 17:53
 Re: Does anyone recognized this "decryption" algorithm? brian012528-Nov-21 17:54 brian0125 28-Nov-21 17:54
 Re: Does anyone recognized this "decryption" algorithm? brian012528-Nov-21 17:31 brian0125 28-Nov-21 17:31
 RA8875 has ridiculous registers honey the codewitch16-Nov-21 2:31 honey the codewitch 16-Nov-21 2:31
 Re: RA8875 has ridiculous registers Greg Utas16-Nov-21 2:39 Greg Utas 16-Nov-21 2:39
 Re: RA8875 has ridiculous registers honey the codewitch16-Nov-21 2:42 honey the codewitch 16-Nov-21 2:42
 Re: RA8875 has ridiculous registers Jörgen Andersson23-Nov-21 4:00 Jörgen Andersson 23-Nov-21 4:00
 Re: RA8875 has ridiculous registers den2k8816-Nov-21 2:45 den2k88 16-Nov-21 2:45
 Re: RA8875 has ridiculous registers honey the codewitch16-Nov-21 5:13 honey the codewitch 16-Nov-21 5:13
 Re: RA8875 has ridiculous registers PIEBALDconsult16-Nov-21 5:10 PIEBALDconsult 16-Nov-21 5:10
 Re: RA8875 has ridiculous registers honey the codewitch16-Nov-21 5:13 honey the codewitch 16-Nov-21 5:13
 Re: RA8875 has ridiculous registers Fueled By Decaff16-Nov-21 5:18 Fueled By Decaff 16-Nov-21 5:18
 Re: RA8875 has ridiculous registers honey the codewitch16-Nov-21 5:19 honey the codewitch 16-Nov-21 5:19
 Re: RA8875 has ridiculous registers Fueled By Decaff16-Nov-21 5:48 Fueled By Decaff 16-Nov-21 5:48
 Re: RA8875 has ridiculous registers honey the codewitch16-Nov-21 6:07 honey the codewitch 16-Nov-21 6:07
 Re: RA8875 has ridiculous registers Peter Adam25-Nov-21 21:51 Peter Adam 25-Nov-21 21:51
 Re: RA8875 has ridiculous registers honey the codewitch25-Nov-21 23:19 honey the codewitch 25-Nov-21 23:19
 Last Visit: 31-Dec-99 19:00     Last Update: 17-Jan-22 13:40 Refresh ᐊ Prev1234567891011 Next ᐅ