Skip to main content

Module crypto

Expand description

Functionality for re-encrypting account cryptographic state during user key rotation.

Functionsยง

rotate_account_cryptographic_state ๐Ÿ”’
Rotates an account cryptographic state and upgrades it to V2 if necessary. This function fails and logs an error via tracing if the passed keys are invalid, or if the account cryptographic state is malformed.