mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-10-24 01:07:35 +02:00
Unified PRNG setup across all application versions
This commit is contained in:
@@ -316,9 +316,9 @@ Clipperz.Crypto.PRNG.CryptoRandomRandomnessSource.prototype = MochiKit.Base.upda
|
||||
var bytesToCollect;
|
||||
|
||||
if (this.boostMode() == true) {
|
||||
bytesToCollect = 8;
|
||||
bytesToCollect = 64;
|
||||
} else {
|
||||
bytesToCollect = 32;
|
||||
bytesToCollect = 8;
|
||||
}
|
||||
|
||||
var randomValuesArray = new Uint8Array(bytesToCollect);
|
||||
|
||||
Reference in New Issue
Block a user