Fix bit length proof

This commit is contained in:
jude committed 2023-04-28 10:32:05 +01:00
1 parent 574287d07b
commit 6005cd6aff
6 files changed
+77 -37

No files matched your search

+1 -1
View File
@@ -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) {