Fix bit length proof
This commit is contained in:
1 parent
574287d07b
commit
6005cd6aff
6 files changed
+77
-37
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { mod_exp } from "./math.js";
|
||||
|
||||
export const KEY_SIZE = 512;
|
||||
export const KEY_SIZE = 2048;
|
||||
|
||||
export function cryptoRandom(bits) {
|
||||
if (bits === undefined) {
|
||||
|
||||
Reference in new issue
Block a user