Re:Hack-petya mission accomplished – Petya ransomware decryptor
by Houshalter on Tuesday April 12, 2016 @03:45AM
(#11477853)
The first random number generator I learned about was super simple. Middle squares. You take a number, multiply it by itself, and take the middle bits. Because of the way the binary multiplication algorithm works, the bits are pretty thoroughly scrambled and not correlated to the input.
I'm not sure if there aren't clever ways to undo it, but at least it would resist such a simple method like that.
I'm not sure if there aren't clever ways to undo it, but at least it would resist such a simple method like that.