Skip to main content

Module cipher

Module cipher 

Source
Expand description

The vault cipher half of a rotation.

rotate_cipher_password vets the cipher the server returned and builds the write that replaces its password. Decryption, password history and encryption are the vault’s ([Cipher::change_login_password]). cipher_has_password tells whether a cipher already holds a given password, so an ambiguous write outcome can be settled.

Enums§

RotationCipherError
Errors from the cipher half of a rotation. They never include cipher content.

Functions§

cipher_has_password
Whether cipher’s login password is password.
rotate_cipher_password
Builds the cipher write that rotates cipher’s password to new_password.