Crate lesspass[−][src]
Structs
Flag that describes what characters are allowed when generating a password.
Enums
Selects the hash algorithm to use in PBKDF2.
Constants
The maximum length of the entropy in bytes, inclusive.
The maximum length of the rendered password, inclusive.
The minimum length of the entropy in bytes, inclusive.
The minimum length of the rendered password, inclusive.
Functions
Same as generate_entropy_to
, but directly returns the entropy buffer
instead of requiring a mutable output buffer.
Generates the entropy needed to render the end password using a previously
computed salt and a master password, and writes it to output
.
Same as generate_salt_to
, but directly returns the salt instead of
requiring a mutable output buffer.
Generates the salt needed to compute the entropy using a combinaison of the
target website, login and counters, and writes it to output
.
Return the SHA-256 fingerprint that corresponds to the given master password.
Same as render_password_to
, but directly returns the rendered password
instead of requiring a mutable output buffer.
Generates a password of the given length using the provided entropy and
character sets, and writes it to output
.