Struct yubihsm::StaticKeys
[−]
[src]
pub struct StaticKeys { /* fields omitted */ }
Static Secure Channel keys from which session keys are derived
Methods
impl StaticKeys
[src]
pub fn derive_from_password(
password: &[u8],
salt: &[u8],
iterations: usize
) -> Self
[src]
password: &[u8],
salt: &[u8],
iterations: usize
) -> Self
Derive static_keys keys from a password
pub fn new(key_bytes: &[u8; 32]) -> Self
[src]
Create a new keypair from a byte array