Didactic Scrambled Egg Cipher Pre-Warmup Challenge
Didactic Scrambled Egg Cipher Pre-Warmup Challenge
I think there is an error in the line
eggs ^= (key[eggs&0x4]<<8);
It should be
eggs ^= (key[eggs&0x3]<<8); ?
eggs ^= (key[eggs&0x4]<<8);
It should be
eggs ^= (key[eggs&0x3]<<8); ?
Now there are (at least) three versions:cafelatte wrote:(Puzzled) i worked some time on one with a 16-byte-key and ...(key[eggs&0xF]<<8);...
has that been substituted?
- Didactic Scrambled Egg Cipher
- Didactic Scrambled Egg Cipher Warmup
- Didactic Scrambled Egg Cipher Pre-Warmup
And we have to solve them in the reverse order of their appearance. You have been working on the first one, but now you have to solve Pre-Warmup and Warmup beforehand.
Code: Select all
eggs ^= (key[eggs&0x3]<<8);
reads as:
Code: Select all
eggs = eggs ^ ( key[eggs&0x3] << 8 )
no, i have not yet solved this one...
-
- Posts: 11
- Joined: Mon May 16, 2011 8:37 am
Hi there,
I'm a little confused about this challange.
As posted above, the encoding of the byte-sequence is Little-Endian. Can someone confirm, that encoding the message:
This is a secret message
with the key "0x11, 0x12, 0x13, 0x14"
will output
"2eafc48a26248a2625402cc4c8aca52a264528ec26a8aee5"
I can encode/decode it without any problems.
But brute forcing the challange-message produces no output. Is the decrypted message plain Text?
I'm a little confused about this challange.
As posted above, the encoding of the byte-sequence is Little-Endian. Can someone confirm, that encoding the message:
This is a secret message
with the key "0x11, 0x12, 0x13, 0x14"
will output
"2eafc48a26248a2625402cc4c8aca52a264528ec26a8aee5"
I can encode/decode it without any problems.
But brute forcing the challange-message produces no output. Is the decrypted message plain Text?