4
$\begingroup$

If you AES the last line,
With a key made of something divine,
And then you XOR
The SHA-1 of "4",
FWqY58QhWVqPDX0uQ8C37AYaPeWFab42F2nyuY+zWK/gCV2bo8hIDt6sjon1I8+Y64RzJcCwlHIouiebHza67ErpHbVVWeZh4Pf8GBVtrDU=

Can you figure out what the "divine thing" is and then follow the instructions to determine what the keyword hidden in the last line of this limerick is?


Important hint:

The AES key is a word padded with null characters at the end to make it 16 bytes total.

$\endgroup$
10
  • $\begingroup$ purely aes or also an operation mode like cbc? $\endgroup$
    – Vincent
    Apr 17, 2015 at 21:58
  • $\begingroup$ Oh, yes, I forgot to mention, it's AES ECB, like you're probably thinking. Nothing fancy. $\endgroup$
    – user88
    Apr 17, 2015 at 21:59
  • $\begingroup$ 128 bit aes? :p $\endgroup$
    – Vincent
    Apr 17, 2015 at 22:04
  • $\begingroup$ AES is always 128-bit unless specified otherwise. (At least, I think that's the convention...) $\endgroup$
    – user88
    Apr 17, 2015 at 22:04
  • 2
    $\begingroup$ @IanMacDonald Neither does the last line :p $\endgroup$
    – Tryth
    Apr 17, 2015 at 22:50

2 Answers 2

4
$\begingroup$

The key (before null padding) is

God

After properly decoded, AESed and XORed the last line is

`You'll find that the answer is 'brine'.\x00You'll find that the answer is 'brine'.\x00

$\endgroup$
0
$\begingroup$

Not an answer, i just wanted to create some activity

Well.. after a long talk with the OP i figured out the following:

With a key made of something divine,

GOD, god is something divine (obviously)

Sha-1 of 4

1b6453892473a467d07372d45eb05abc2031647a

The last line

now if you AES this line with god (encrypt or decrypt) rubbish comes out, XOR this with the hash of 4 and it still makes no sense.

I'm just too stupid to follow simple instructions, it's a miracle my house isn't on fire yet :P

$\endgroup$
13
  • $\begingroup$ I can tell you, the divine thing is not a soul. $\endgroup$
    – user88
    Apr 24, 2015 at 17:37
  • $\begingroup$ Also, the base 64 encoding is just to transcribe encrypted binary data. You need to apply all the ciphers to the bytes of the last line. $\endgroup$
    – user88
    Apr 24, 2015 at 17:38
  • $\begingroup$ Thirdly, notice that the SHA-1 of 4 is only a fifth of the length of the line. You may need to repeat the key multiple times. $\endgroup$
    – user88
    Apr 24, 2015 at 17:39
  • $\begingroup$ @JoeZ. use all the ciphers on the last line? do you know how many ciphers there are in the world? :P I'll never get them all ;) $\endgroup$
    – Vincent
    Apr 24, 2015 at 17:45
  • $\begingroup$ All the ciphers mentioned in the question, i.e. the AES and the XOR. $\endgroup$
    – user88
    Apr 24, 2015 at 17:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.