Crate keyplace[−][src]
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
pub use key_manager::KeyManager; |
Modules
key_manager |
Structs
AgentId | |
AgentKey | |
CustodialAgentKey | |
PassKey | |
Signature | |
UserAuthKey | All of the structs in this module are safe to share with a trusted custodian IE: The server. Note that we don't fully trust the custodian, and we take steps to ensure that the custodian never directly holds any secrets |
Enums
Error |