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() - Password
Generator πOptions - Represents a set of valid options to generate a password with.
To get an instance of it, use
PasswordGeneratorRequest::validate_options - Password
Generator Request - Password generator request options.
EnumsΒ§
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