fernet-ecto v0.2.0 Fernet.Ecto.String

An Ecto type for Fernet-encrypted strings.

Summary

Functions

Only accept binary and string plaintext values

Encrypt a value to store in the database

Decrypt a value loaded from the database

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

Functions

cast(plaintext)

Only accept binary and string plaintext values.

dump(plaintext)

Encrypt a value to store in the database.

load(ciphertext)

Decrypt a value loaded from the database.

type()

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