UNPKG
@kotevode/circomlibjs
Version:
latest (0.1.14)
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
Javascript library to work with circomlib
github.com/iden3/circomlibjs
iden3/circomlibjs
@kotevode/circomlibjs
/
src
/
mimcsponge_printcontract.js
14 lines
(9 loc)
•
256 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
{createCode}
from
"./mimcsponge_gencontract.js"
;
const
SEED
=
"mimcsponge"
;
let
nRounds;
if
(
typeof
process.
argv
[
2
] !=
"undefined"
) { nRounds =
parseInt
(process.
argv
[
2
]); }
else
{ nRounds =
220
; }
console
.
log
(
createCode
(
SEED
, nRounds));