FixedZeroizing

Type Alias FixedZeroizing 

Source
pub type FixedZeroizing<T> = Zeroizing<T>;
Expand description

Re-export of zeroize::Zeroizing<T> for stack-allocated secrets.

This is the canonical zeroizing wrapper for fixed-size data.

Aliased Type§

pub struct FixedZeroizing<T>(/* private fields */);

Trait Implementations§

Source§

impl<T: Zeroize> From<Fixed<T>> for FixedZeroizing<T>

Available on crate feature zeroize only.

Convenience conversions from non-zeroizing wrappers.

Source§

fn from(fixed: Fixed<T>) -> Self

Converts to this type from the input type.