This commit is contained in:
jude
2023-04-29 16:35:17 +01:00
parent cceb6dee90
commit 0fed48b79d
5 changed files with 65 additions and 15 deletions

View File

@ -1,6 +1,6 @@
import { mod_exp } from "./math.js";
export const KEY_SIZE = 512;
export const KEY_SIZE = 1024;
export function cryptoRandom(bits) {
if (bits === undefined) {