vacp2p / zerokit

A set of Zero Knowledge modules, written in Rust and designed to be used in other system programming environments.
Apache License 2.0
130 stars 7 forks source link

fix: `len().to_le_bytes().to_vec()` contains 4 bytes on 32b and should contain 8 #154

Closed richard-ramos closed 1 year ago

richard-ramos commented 1 year ago

In https://github.com/vacp2p/zerokit/pull/153 I forgot to commit these changes that also deal with usize length :( Sorry