pub type LocalKey<V> = Key<V, Local>;Expand description
Private key used for encryption and decryptiom
Aliased Type§
pub struct LocalKey<V>(/* private fields */);Implementations§
Source§impl<V: SealingVersion<Local>> LocalKey<V>
impl<V: SealingVersion<Local>> LocalKey<V>
Sourcepub fn random() -> Result<Self, PasetoError>
pub fn random() -> Result<Self, PasetoError>
Generate a random local key