Open rillian opened 2 years ago
The ability to reset the existing BitVec with true or false values would be convenient. For now I'm just looping over every index myself, setting the value accordingly during my reset step. It would be best of that could be accomplished by the crate for optimal performance.
BitVec is very convenient for protocol data and processing bit-oriented encodings. For cryptographic applications it would be nice if it implemented the
Zeroize
trait for clearing key material from memory after use. As far as I can tell, this is something that can only be effectively implemented by this crate directly, since it needs to understand the memory layout and allocation pattern.Similar to #168.