Encrypting Personal Data with Elixir and Cloak Ecto
Channel: Peter and Code
Date: 2021-01-10

Seamlessly encrypt all the personal data of your customers with Cloak Ecto and Elixir.

Peter explains how to get started with the cloak_ecto library written in Elixir. Cloak Ecto encrypts your data automatically whenever you store it in your database and decrypts it whenever you retrieve it again. All this ensures that you never store your customer's data "in the clear", but always keep it safely encrypted.

Links
Used Code: https://github.com/PJUllrich/peterandcode
Cloak Ecto: https://github.com/danielberkompas/cloak_ecto
Cloak: https://github.com/danielberkompas/cloak
Cipher Block Modes: https://cryptobook.nakov.com/symmetric-key-ciphers/cipher-block-modes

Timestamps
00:00 - Introduction
00:32 - What is Cloak Ecto?
01:35 - Overview of GitHub Repos
02:24 - How to implement Cloak Ecto?
04:12 - Creating a Cloak Vault
08:15 - Creating custom Cloak Types
14:18 - Querying for encrypted fields
21:03 - Final Notes and Wrap up