Module master_key

Source

Enumsยง

HashPurpose
MasterKey
Master Key.

Constantsยง

UNIFFI_META_CONST_BITWARDEN_CRYPTO_ENUM_HASHPURPOSE ๐Ÿ”’

Functionsยง

decrypt_user_key ๐Ÿ”’
Helper function to decrypt a user key with a master or pin key or key-connector-key.
encrypt_user_key ๐Ÿ”’
Helper function to encrypt a user key with a master or pin key.
make_user_key ๐Ÿ”’
Generate a new random user key and encrypt it with the master key.