por: print keys for test vector generation
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
9456aad233
commit
ed0145921c
|
@ -17,6 +17,8 @@ const querylen = 1
|
||||||
proc testbls() : bool =
|
proc testbls() : bool =
|
||||||
benchmark "Key generation":
|
benchmark "Key generation":
|
||||||
let (spk, ssk) = por.keygen()
|
let (spk, ssk) = por.keygen()
|
||||||
|
echo "Public key: ", $ spk
|
||||||
|
echo "Private key: ", $ ssk
|
||||||
|
|
||||||
benchmark "Auth generation (s=" & $sectorsperblock & ")":
|
benchmark "Auth generation (s=" & $sectorsperblock & ")":
|
||||||
let (tau, authenticators) = por.setup(ssk, sectorsperblock, "example.txt")
|
let (tau, authenticators) = por.setup(ssk, sectorsperblock, "example.txt")
|
||||||
|
|
Loading…
Reference in New Issue