
My first try was like:
"01234567" => 0x01234567
And isn't there garbage at the end?
There isn't garbage at the end, the text is 3 bytes too short to make a full 32 bits. If you trim your answer to the same number of encrypted bytes the garbage goes away.tails wrote:I went the very same way as gfoot did.
First, big endian, x=0x13e8fe15, k=0, the text results in a bit broken.
Next, little endian, x=14fde914, k=0, the text has 4 byte garbage at the end.
Ah that's right. I carelessly miscounted the length and felt sure it had no odd bytes. Thank you for pointing it out!MerickOWA wrote:There isn't garbage at the end, the text is 3 bytes too short to make a full 32 bits. If you trim your answer to the same number of encrypted bytes the garbage goes away.
All the of the latest xor challenges have been like that.adum wrote:hmmn, this cipher has the great property of working for any possible k if you have the right x -- you just lose the first four bytes. shows the danger of trying to make up new ciphers =)
Easy enough to guess, though, by just trying all chars that are close to “h”ve to admit, i don`t know how i`d solve this one nyself. not#tiat this is AEl nr amything. but still, gettinf nore!tricky. oh by the way, you!are lonhnng for penguinhcity, noble solver
I got exactly the same text, with x = 21 | (254 << 8 ) | (232 << 16) | (19 << 24) = 0x13e8fe15wrtlprnft wrote:Hmm, I probably used the wrong endianness. Here's what I got, without the first four chars (presumably “i ha”) and the last one (probably an exclamation point):Easy enough to guess, though, by just trying all chars that are close to “h”ve to admit, i don`t know how i`d solve this one nyself. not#tiat this is AEl nr amything. but still, gettinf nore!tricky. oh by the way, you!are lonhnng for penguinhcity, noble solver