Piazza.Ecto.EncryptedString (piazza_core v0.3.8) View Source

Implements at rest encryption for ecto fields. The encrypted field will be placed into a b64 encoded protobuf message, for ease of migration as additional features like kms integration or key rotation are introduced.

Link to this section Summary

Functions

Callback implementation for Ecto.Type.cast/1.

Callback implementation for Ecto.Type.dump/1.

Callback implementation for Ecto.Type.embed_as/1.

Callback implementation for Ecto.Type.equal?/2.

Callback implementation for Ecto.Type.load/1.

Callback implementation for Ecto.Type.type/0.

Link to this section Functions

Callback implementation for Ecto.Type.cast/1.

Callback implementation for Ecto.Type.dump/1.

Callback implementation for Ecto.Type.embed_as/1.

Link to this function

encode_payload(initv, cipher)

View Source

Callback implementation for Ecto.Type.equal?/2.

Callback implementation for Ecto.Type.load/1.

Callback implementation for Ecto.Type.type/0.