This commit is contained in:
2023-04-17 13:30:34 +01:00
parent 1bd15f36e7
commit 659fcc389a
4 changed files with 45 additions and 41 deletions

View File

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

View File

@ -21,7 +21,7 @@ function cryptoShuffle(l) {
return out;
}
const ROUNDS = 48;
const ROUNDS = 24;
function getCoins(text) {
// Construct verifier coins