Crate custodian_password[][src]

Expand description

TODO

Re-exports

pub use arrayvec;
pub use serde;
pub use crate::error::Error;
pub use crate::error::Result;

Modules

See Error. Also re-exports InternalError and ProtocolError.

Structs

Configuration for Mhf::Argon2.

Client configuration.

Use this to enable server validation during login.

Holds the state of a login process. See login.

Holds the state of a registration process. See register.

Common password configuration between server and client.

Secret key derived from the users password on the client. The server has no access to it! Can be used to encrypt data and store it safely at the server.

Send this back to the server to finish the login process. See ClientLogin::finish().

Send this to the server to drive the login process. See ServerLogin::login().

Send this back to the client to drive the login process. See ClientLogin::finish().

Configuration for Mhf::Pbkdf2.

Public key, used to verify the server by the client. See ClientRegistration::register().

Send this back to the server to finish the registration process. See ServerRegistration::finish().

Send this to the server to drive the registration process. See ServerRegistration::register().

Send this back to the client to drive the registration process. See ClientRegistration::finish().

Server configuration. This contains the secret key needed to create and use ServerFiles, if it is lost, all corresponding ServerFiles become unusable.

Represents a registered client, this is needed for the client to login. See ServerLogin::login().

Starts the login process on the server.

Holds the state of a registration process. See register.

Enums

Authenticated Key-Exchange for OPAQUE.

Specific algorithm to use for Argon2Params.

Prime-order group algorithm for OPAQUE.

Hash algorithm for OPAQUE.

Memory-hardening function for OPAQUE.

Specific hash to use with PBKDF2.