Click here to Skip to main content
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.

 
GeneralRe: Does anyone recognized this "decryption" algorithm? Pin
Gary R. Wheeler23-Nov-21 14:50
MemberGary R. Wheeler23-Nov-21 14:50 
GeneralRe: Does anyone recognized this "decryption" algorithm? Pin
den2k8823-Nov-21 21:49
professionalden2k8823-Nov-21 21:49 
GeneralRe: Does anyone recognized this "decryption" algorithm? PinPopular
PIEBALDconsult24-Nov-21 2:53
professionalPIEBALDconsult24-Nov-21 2:53 
GeneralRe: Does anyone recognized this "decryption" algorithm? Pin
Eddy Vluggen26-Nov-21 11:26
professionalEddy Vluggen26-Nov-21 11:26 
GeneralRe: Does anyone recognized this "decryption" algorithm? Pin
Philippe Verdy26-Nov-21 4:32
MemberPhilippe Verdy26-Nov-21 4:32 
GeneralRe: Does anyone recognized this "decryption" algorithm? Pin
harold aptroot26-Nov-21 6:08
Memberharold aptroot26-Nov-21 6:08 
GeneralRe: Does anyone recognized this "decryption" algorithm? Pin
PIEBALDconsult26-Nov-21 11:00
professionalPIEBALDconsult26-Nov-21 11:00 
GeneralRe: Does anyone recognized this "decryption" algorithm? Pin
harold aptroot26-Nov-21 11:27
Memberharold aptroot26-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).

GeneralRe: Does anyone recognized this "decryption" algorithm? Pin
brian012528-Nov-21 17:53
Memberbrian012528-Nov-21 17:53 
GeneralRe: Does anyone recognized this "decryption" algorithm? Pin
brian012528-Nov-21 17:54
Memberbrian012528-Nov-21 17:54 
GeneralRe: Does anyone recognized this "decryption" algorithm? Pin
brian012528-Nov-21 17:31
Memberbrian012528-Nov-21 17:31 
GeneralRA8875 has ridiculous registers Pin
honey the codewitch16-Nov-21 2:31
mvahoney the codewitch16-Nov-21 2:31 
GeneralRe: RA8875 has ridiculous registers Pin
Greg Utas16-Nov-21 2:39
mveGreg Utas16-Nov-21 2:39 
GeneralRe: RA8875 has ridiculous registers Pin
honey the codewitch16-Nov-21 2:42
mvahoney the codewitch16-Nov-21 2:42 
GeneralRe: RA8875 has ridiculous registers Pin
Jörgen Andersson23-Nov-21 4:00
professionalJörgen Andersson23-Nov-21 4:00 
GeneralRe: RA8875 has ridiculous registers Pin
den2k8816-Nov-21 2:45
professionalden2k8816-Nov-21 2:45 
GeneralRe: RA8875 has ridiculous registers Pin
honey the codewitch16-Nov-21 5:13
mvahoney the codewitch16-Nov-21 5:13 
GeneralRe: RA8875 has ridiculous registers Pin
PIEBALDconsult16-Nov-21 5:10
professionalPIEBALDconsult16-Nov-21 5:10 
GeneralRe: RA8875 has ridiculous registers Pin
honey the codewitch16-Nov-21 5:13
mvahoney the codewitch16-Nov-21 5:13 
GeneralRe: RA8875 has ridiculous registers Pin
Fueled By Decaff16-Nov-21 5:18
MemberFueled By Decaff16-Nov-21 5:18 
GeneralRe: RA8875 has ridiculous registers Pin
honey the codewitch16-Nov-21 5:19
mvahoney the codewitch16-Nov-21 5:19 
GeneralRe: RA8875 has ridiculous registers Pin
Fueled By Decaff16-Nov-21 5:48
MemberFueled By Decaff16-Nov-21 5:48 
GeneralRe: RA8875 has ridiculous registers Pin
honey the codewitch16-Nov-21 6:07
mvahoney the codewitch16-Nov-21 6:07 
GeneralRe: RA8875 has ridiculous registers Pin
Peter Adam25-Nov-21 21:51
professionalPeter Adam25-Nov-21 21:51 
GeneralRe: RA8875 has ridiculous registers Pin
honey the codewitch25-Nov-21 23:19
mvahoney the codewitch25-Nov-21 23:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.