mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
set prng paranoia to 10
This commit is contained in:
@@ -113,7 +113,7 @@ function initCryptoService() {
|
|||||||
var response = {};
|
var response = {};
|
||||||
var params = {
|
var params = {
|
||||||
mode: "cbc",
|
mode: "cbc",
|
||||||
iv: sjcl.random.randomWords(4, 0)
|
iv: sjcl.random.randomWords(4, 10)
|
||||||
};
|
};
|
||||||
|
|
||||||
var ctJson = sjcl.encrypt(key, plaintextValue, params, response);
|
var ctJson = sjcl.encrypt(key, plaintextValue, params, response);
|
||||||
|
|||||||
Reference in New Issue
Block a user