News for hackers. Stuff that matters.
Re:The Cryptographic Doom Principle by im3w1l on Tuesday April 14, 2015 @03:04PM (#9376539)
Wait are you telling me there are special classes of inputs that are unsafe to encrypt using the standard algorithms?

This sounds scary and please tell me more. In particular what happens in the pathological case where the input consists of 32/64/128/256 bit blocks, and in each block all bits are zero except the last one which may be one or zero?

Re:The Cryptographic Doom Principle by duaneb on Tuesday April 14, 2015 @05:09PM (#9377381)
If you restrict the search space of the input, you also reduce the possible outputs, and that makes it easier to narrow down the key. However, it's only really plausible on very small inputs, another channel of attack (e.g. the ones illustrated in the article), or if you know something specific about the input.

TL;DR don't base64 without a reason because it gives the attacker more bytes with fewer values to work with.