We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to do basic AES encryption on some text
{:ok, aes_128_key} = ExCrypto.generate_aes_key(:aes_128, :bytes) {:ok, {_iv, cipher_text}} = ExCrypto.encrypt(aes_128_key, "hi")
and I'm getting this error
** (MatchError) no match of right hand side value: %ErlangError{original: :notsup} (ex_crypto) lib/ex_crypto.ex:28: ExCrypto.normalize_error/3
If I use aes_256 everything works.
The text was updated successfully, but these errors were encountered:
I've encountered the same problem recently. Have you had any luck in figuring out the cause, @zacksiri?
Sorry, something went wrong.
I think that's an error that bubbled up from the underlying crypto library. What sort of environment are you running in?
Yes, 👍 I also found some note about this in the Erlang crypto docs.
Ubuntu 14.04.5 LTS OpenSSL 1.1.1 Erlang/OTP 21 Elixir 1.7.3
No branches or pull requests
I'm trying to do basic AES encryption on some text
and I'm getting this error
If I use aes_256 everything works.
The text was updated successfully, but these errors were encountered: