Skip to main content

Module password

Module password 

Source

StructsΒ§

CharSet πŸ”’
A set of characters used to generate a password. This set is backed by a BTreeSet to have consistent ordering between runs. This is not important during normal execution, but it’s necessary for the tests to be repeatable. To create an instance, use CharSet::default()
PasswordGeneratorOptions πŸ”’
Represents a set of valid options to generate a password with. To get an instance of it, use PasswordGeneratorRequest::validate_options
PasswordGeneratorRequest
Password generator request options.

EnumsΒ§

PasswordError

ConstantsΒ§

DEFAULT_PASSWORD_LENGTH πŸ”’
LOWER_CHARS_AMBIGUOUS πŸ”’
MAXIMUM_MIN_CHAR_COUNT
Maximum value for min_number / min_special (per-charset minimum count).
MAXIMUM_PASSWORD_LENGTH
Maximum password length accepted by Bitwarden clients.
MINIMUM_MIN_CHAR_COUNT
Minimum value for min_number / min_special (per-charset minimum count).
MINIMUM_PASSWORD_LENGTH
Minimum password length accepted by client-facing callers. The SDK’s internal validator allows shorter values, but all Bitwarden clients silently clamp up to this value for entropy reasons.
NUMBER_CHARS_AMBIGUOUS πŸ”’
SPECIAL_CHARS πŸ”’
UNIFFI_META_CONST_BITWARDEN_GENERATORS_ERROR_PASSWORDERROR πŸ”’
UNIFFI_META_CONST_BITWARDEN_GENERATORS_RECORD_PASSWORDGENERATORREQUEST πŸ”’
UPPER_CHARS_AMBIGUOUS πŸ”’

FunctionsΒ§

password πŸ”’
Implementation of the random password generator.
password_with_rng πŸ”’