From 79c40263d58b82d348aa548564e7681f0b51424a Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Sun, 17 Nov 2024 21:39:37 +0100 Subject: allow up to 32 bit encoding --- nizk/commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nizk/commit.go') diff --git a/nizk/commit.go b/nizk/commit.go index 27e31f7..b68c0f4 100644 --- a/nizk/commit.go +++ b/nizk/commit.go @@ -56,7 +56,7 @@ func NewBitFromScalars(id Bytes, set bool, α, β *Scalar) *Bit { } func Int2Bits(id Bytes, val int, bitlength int) []*Bit { - if bitlength < 0 || bitlength > 24 { + if bitlength < 0 || bitlength > 32 { return nil } -- cgit v1.2.3