diff options
author | Özgür Kesim <oec@kesim.org> | 2024-11-17 21:39:37 +0100 |
---|---|---|
committer | Özgür Kesim <oec@kesim.org> | 2024-11-17 21:39:37 +0100 |
commit | 79c40263d58b82d348aa548564e7681f0b51424a (patch) | |
tree | d2a9547a2b9f9df5d436c0495b17cf3984fdbfd4 | |
parent | dd65b09c996523346de8ca61bcfd309e4d9f16d1 (diff) |
allow up to 32 bit encoding
-rw-r--r-- | nizk/commit.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |