How to Encrypt/Decrypt Sensitive Data in Elixir? #80
Labels
enhancement
New feature or enhancement of existing functionality
priority-2
Second highest priority, should be worked on as soon as the Priority-1 issues are finished
question
A question needs to be answered before progress can be made on this issue
T1d
Time Estimate 1 Day
Scenario
We want to encrypt (personal) data
before
storing it in PostgreSQL.So that if for any reason the DB is ever "compromised" through SQL injection or other "attack",
the data is strongly encrypted and thus the "leak" is (somewhat) "mitigated".
read: https://security.stackexchange.com/questions/56278/field-level-encryption-vs-disk-encryption-for-pci-compliance
The starting point is to read the Erlang
crypto
docs: http://erlang.org/doc/man/crypto.htmlIt has lots of detail but few practical examples ...
Requirement
We read: https://github.com/rubencaro/cipher which is "overkill" for what we need.
Example code:
Looked at: https://github.com/danielberkompas/cloak
The text was updated successfully, but these errors were encountered: