Search found 1 match

by ghostbear
Thu Dec 11, 2008 8:58 am
Forum: Challenges
Topic: Didactic Scrambled Egg Cipher Pre-Warmup Challenge
Replies: 26
Views: 46403

eggs ^= (key[eggs&0x3]<<8); reads as: eggs = eggs ^ ( key[eggs&0x3] << 8 ) also remember that key is an array with 4 bytes, so the term picks one of the 4 bytes and shifts that by 8 (so it masks the middle of the 3-byte tuple of plain text characters). no, i have not yet solved this one...