From ed0145921ccc93a225f7b86bffd1f5f41cab2ba8 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Sun, 12 Jun 2022 03:47:10 +0200 Subject: [PATCH] por: print keys for test vector generation Signed-off-by: Csaba Kiraly --- dagger/por/testpor.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dagger/por/testpor.nim b/dagger/por/testpor.nim index 2accdf6e..8d713e18 100644 --- a/dagger/por/testpor.nim +++ b/dagger/por/testpor.nim @@ -17,6 +17,8 @@ const querylen = 1 proc testbls() : bool = benchmark "Key generation": let (spk, ssk) = por.keygen() + echo "Public key: ", $ spk + echo "Private key: ", $ ssk benchmark "Auth generation (s=" & $sectorsperblock & ")": let (tau, authenticators) = por.setup(ssk, sectorsperblock, "example.txt")