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.