Lower rounds. tex stuff

This commit is contained in:
jude
2023-04-28 12:42:58 +01:00
parent 6005cd6aff
commit 663b8ab4de
4 changed files with 17 additions and 13 deletions

View File

@ -1,6 +1,7 @@
import { cryptoRandom } from "../crypto/random_primes.js";
import { Region } from "./map.js";
import { mod_exp } from "../crypto/math.js";
const ROUNDS = 12;
function cryptoRange(upper) {
// This is ridiculous: why implement a BigInt primitive, have it behave like a number, and then _not_ offer
@ -43,8 +44,6 @@ function cryptoShuffle(l) {
return out;
}
const ROUNDS = 24;
/**
* R-S transform.
*