Commit graph

1 commit

Author SHA1 Message Date
Stephen Buttolph
86a2fa8836
Verify key length in range proofs (#176)
## Why this should be merged

This enforces an assumption that is currently made by
`VerifyRangeProof`. If a key is a prefix of another key, the current
code can panic.

## How this works

Enforces all keys have the same length.

## How this was tested

Added a unit test.
2025-04-10 14:14:42 -04:00