fizyk20 / generic-array

Generic array types in Rust
MIT License
405 stars 77 forks source link

Add an optional `Zeroize` impl for `GenericArray` #126

Closed fjarri closed 2 years ago

fjarri commented 2 years ago

GenericArrays are used extensively in RustCrypto stack, and it would be very convenient to have them implement zeroization (for the cases when they contain secret data), so that one didn't have to make and expose a newtype doing that. This is done with the help of the de-facto standard zeroize crate.

This functionality is optional and gated on the zeroize feature.

novacrazy commented 2 years ago

Published in 0.14.6

fjarri commented 2 years ago

Thanks for making a release too!