Derive Macro sp_core::crypto::Zeroize[]

#[derive(Zeroize)]
{
    // Attributes available to this derive:
    #[zeroize]
}
Expand description

Trait to zeroize a memory buffer. Derive the Zeroize trait.

Supports the following attribute:

  • #[zeroize(drop)]: derives the Drop trait, calling zeroize() when this item is dropped.