Crate keyplace

Source
Expand description

§Keyplace

let agentkey = AgentKey::create(None);

let passkey = PassKey::new("I like turtles");
let custkey = agentkey.custodial_key(passkey);

// the custodial key is safe to send to the server
// Never send the passkey to anyone!!

let passkey2 = PassKey::new("I like turtles");
let agentkey2 = AgentKey::from_custodial_key(custkey, passkey2).unwrap();

Re-exports§

Modules§

Structs§

Enums§