Struct SecretKey
microsalt::secretbox
pub struct SecretKey(pub [u8; 32]);
A secret key for crypto box
impl SecretKey
fn lock(&self, message: &[u8]) -> Box
impl Drop for SecretKey
fn drop(&mut self)
A method called when the value goes out of scope. Read more