fernet-ecto v1.1.0 Fernet.Ecto.Map

An Ecto type for Fernet-encrypted maps.

Summary

Functions

Only accept map values

Encrypt a map to store in the database

Decrypt a map loaded from the database

Fernet-encrypted data is stored as a binary in the database

Functions

cast(map)

Only accept map values.

dump(map)

Encrypt a map to store in the database.

load(ciphertext)

Decrypt a map loaded from the database.

type()

Fernet-encrypted data is stored as a binary in the database.