[dev-crypto-csharp] SecureRandom security problem

2014-07-18 Thread Edward Ned Harvey (bouncycastle)
The default constructor of SecureRandom uses GetSeed(8), which is only 64 bits, but worse yet, GetSeed seeds itself from the system clock Ticks. There are 10million ticks per second, and a single laptop CPU core can perform between 10million and 200million AES operations per second, depending on

[dev-crypto-csharp] RE: SecureRandom security problem

2014-07-18 Thread Edward Ned Harvey (bouncycastle)
> From: Edward Ned Harvey (bouncycastle) > [mailto:bouncycas...@nedharvey.com] > > The default constructor of SecureRandom uses GetSeed(8), which is only 64 > bits, but worse yet, GetSeed seeds itself from the system clock Ticks. I am sorry - I just stepped through code for the nineteenth time, a