Expand description

This module could be used to encrypt/decrypt tokens

Structs

Real derived key

Enums

Errors that can occur while decoding.

Functions

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.

EncryptV3 encrypts the given content using the supplied key.