« first day (2628 days earlier)      last day (2040 days later) » 

3:59 AM
Now that I think about it, since length extension attacks are a thing for Merkle–Damgård hashes, if a hash suddenly became vulnerable just because you added zeros to its input, then you could break any hash just by performing an LE attack and adding zeros to it! Obviously you cannot take a hash with an unknown input, append a bunch of zeros and hash it again, and then break the new hash to discover the previous hash's input. That proves that this is not a cryptographic issue in the slightest. — forest 5 mins ago
Just trying to make sure I'm not totally wrong here...
 
 
1 hour later…
5:13 AM
@forest I don't understand what you mean. Maybe it's too late tonight for me to understand. Sounds circular. And I don't get the relation between appending zero bytes, length extension, and breaking the full hash. It's not even the case that breaking a compression function breaks the full hash algorithm.
And length extension isn't break for the standard collision/1st-pre-image/2nd-pre-image resistant definition of a hash function. (Random oracle model, yes, though.)
Oh. One example of compression function problem that doesn't affect the security of the full hash function: A fixed point of F(0) = 0, which isn't exploitable because although you can choose both inputs to a compression function you can only choose the message in a hash algorithm. (Because the IV is fixed and it's really difficult to get to all zero intermediate state starting from the IV.)
11
Q: Why do I get this particular color pattern when using rand()?

Little PonyI tried to create a bmp file, like this: uint8_t raw_r[pixel_width][pixel_height]; uint8_t raw_g[pixel_width][pixel_height]; uint8_t raw_b[pixel_width][pixel_height]; uint8_t blue(uint32_t x, uint32_t y) { return (rand()%2)? (x+y)%rand() : ((x*y%1024)%rand())%2 ? (x-y)%rand() : rand();...

@forest Check out the two answers to this RNG-related question. I LOLed at the contrast. Copying an image from Wikpedia or whatever is apparently always up vote worthy.
 
5:36 AM
@FutureSecurity That's my point. It's argumentum a fortiori.
@forest you are right, i however mean something else: AES is engineered so that it can be broken (through cyptanalysis) if needed. stacking encryption is the antidote. — EKanadily 33 mins ago
lols
 

« first day (2628 days earlier)      last day (2040 days later) »