Expand description
This module could be used to encrypt/decrypt tokens
Structs§
- Ec3Key
- Real derived key
Enums§
- Decryption
Error - Errors that can occur while decoding.
Functions§
- decrypt_
v3 - Decrypts the given token using the supplied key. On success, returns the decrypted content. If the token is invalid or can not be decrypted, returns DecryptionError.
- encrypt_
v3 - EncryptV3 encrypts the given content using the supplied key.