Struct lockchain_crypto::AesEngine
[−]
[src]
pub struct AesEngine { /* fields omitted */ }
Methods
impl AesEngine[src]
pub fn generate() -> Self[src]
Generate new key and encryption engine
pub fn from_pw(pw: &str, salt: &str) -> Self[src]
Generate an Aes context from password
pub fn load(packed: PackedData, pw: &str, salt: &str) -> Option<Self>[src]
Load a packed data object which contains an Aes context
pub fn save(&mut self) -> PackedData[src]
Serialise the current context to save it somewhere