[][src]Crate ectoken

This module could be used to encrypt/decrypt tokens

Enums

DecryptionError

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.