Crate rusterpassword

Source
Expand description

An implementation of the Master Password algorithm.

Don’t forget to initialize libsodium before using.

Structs§

Identicon

Constants§

TEMPLATES_BASIC
TEMPLATES_LONG
TEMPLATES_MAXIMUM
TEMPLATES_MEDIUM
TEMPLATES_PIN
TEMPLATES_SHORT

Functions§

create_identicon
Create identicon for password and name combination
gen_master_key
Generate a 512-bit (64-byte) master key using scrypt.
gen_master_key_custom
Low level master key generation function (basically, scrypt).
gen_site_password
Generate a readable password from a site seed using templates.
gen_site_seed
Generate a 256-bit (32-byte) site seed using HMAC-SHA-256.