Target parameter set
cargo run --bin search_params -- --n 7 --z 1024 --k 131072 --lambda 60
================================================================================
FINAL BFV PARAMETER SETS
================================================================================
=== FIRST BFV PARAMETER SET ===
n (number of ciphernodes) = 7
z (number of votes) = 1024
k (plaintext space) = 131072 (18 bits)
λ (Statistical security parameter) = 60
B (bound on e2) = 20 [Dist: CBD, Var = 10]
B_chi (bound on sk) = 1 [Dist: CBD, Var = 1/2]
d (LWE dimension) = 8192
q_BFV (decimal) = 23945242829873343278013991414421467047259727741452289
|q_BFV| = ≈ 2^174 (174 bits)
Δ (decimal) = 182687704695688959335433894458171593072965452129
r_k(q) = 1
BEnc (bound on e1) = 2644525230407001319669760 [Dist: Uniform, Var = 2331171231419734472395201298275918858425592709120]
B_fresh = 2644525230407001320980480
B_C = 2707993835936769352684012544
B_sm = 3122104327794287241362426787869116671872466944
log2(LHS) = 149.936638
log2(Δ) = 155.000000
q_i used (3): 0x0400000001460001 (59 bits), 0x0400000000ea0001 (59 bits), 0x0400000000920001 (59 bits)
=== SECOND BFV PARAMETER SET ===
k (plaintext space) = 1152921504606846976 (61 bits)
d (LWE dimension) = 8192
q_BFV (decimal) = 5316911983268414096016649982208901121
|q_BFV| = ≈ 2^118 (118 bits)
Δ (decimal) = 4611686018539061252
r_k(q) = 777715553927169
BEnc (bound on e1, taken as B) = 20 [Dist: CBD, Var = 10]
B_fresh = 327700
B_C = 327700
log2(2*B_C) = 15.322016
log2(Δ) = 61.000000
q_i used (2): 0x2000000001be0001 (62 bits), 0x2000000001960001 (62 bits)
Target parameter set
cargo run --bin search_params -- --n 7 --z 1024 --k 131072 --lambda 60================================================================================ FINAL BFV PARAMETER SETS ================================================================================ === FIRST BFV PARAMETER SET === n (number of ciphernodes) = 7 z (number of votes) = 1024 k (plaintext space) = 131072 (18 bits) λ (Statistical security parameter) = 60 B (bound on e2) = 20 [Dist: CBD, Var = 10] B_chi (bound on sk) = 1 [Dist: CBD, Var = 1/2] d (LWE dimension) = 8192 q_BFV (decimal) = 23945242829873343278013991414421467047259727741452289 |q_BFV| = ≈ 2^174 (174 bits) Δ (decimal) = 182687704695688959335433894458171593072965452129 r_k(q) = 1 BEnc (bound on e1) = 2644525230407001319669760 [Dist: Uniform, Var = 2331171231419734472395201298275918858425592709120] B_fresh = 2644525230407001320980480 B_C = 2707993835936769352684012544 B_sm = 3122104327794287241362426787869116671872466944 log2(LHS) = 149.936638 log2(Δ) = 155.000000 q_i used (3): 0x0400000001460001 (59 bits), 0x0400000000ea0001 (59 bits), 0x0400000000920001 (59 bits) === SECOND BFV PARAMETER SET === k (plaintext space) = 1152921504606846976 (61 bits) d (LWE dimension) = 8192 q_BFV (decimal) = 5316911983268414096016649982208901121 |q_BFV| = ≈ 2^118 (118 bits) Δ (decimal) = 4611686018539061252 r_k(q) = 777715553927169 BEnc (bound on e1, taken as B) = 20 [Dist: CBD, Var = 10] B_fresh = 327700 B_C = 327700 log2(2*B_C) = 15.322016 log2(Δ) = 61.000000 q_i used (2): 0x2000000001be0001 (62 bits), 0x2000000001960001 (62 bits)