cloak
cloak copied to clipboard
Elixir encryption library designed for Ecto
Hello, I am upgrading the Cloak version incrementally from 0.6.2 to 0.7.0 I am able to follow all the steps from the link https://hexdocs.pm/cloak/0.7.0/0.6.x_to_0.7.x.html#install-cloak-0-7 But while running mix cloak.migrate -r...
Do not crash if vault is started more than once. Instead return `{:error, {:already_started, }}` so it can be handled by caller, which is proper OTP behavior I believe.
This would tune the performance, because in current implementation `:ets` is created without `read_concurrency` which makes all encryptions and decryptions synchronous. We can: * use `read_concurrency: true` * use `:persistent_term`...
It was pointed out to me that Cloak supports both GCM mode and CTR mode. Since GCM mode is the more secure choice of the two (CTR is unauthenticated, and...
It would prevent data leakage if it is possible to add padding to encrypted values. Especially when encrypting "enum" values. A good use case for padding is shown on the...
First of all, thank your for maintaining `cloak_ecto`! I was wondering, in terms of usability, wouldn't it make sense for the library to throw an error when no cipher is...
Besides other documentation changes, this commit includes all relevant documents to the generated HTML doc for HexDocs.pm and leverages on latest features of ExDoc.
As discussed in issue #99, this PR adds support of padding of the value before encrypting.
Resolves #96 No benchmarks so far
The deprecated ciphers should remain in so that people can have a smooth upgrade to 1.0.0. In 1.1, they should probably be removed?