Convert base64 string to byte string

Have you tried:

{:ok, {init_vec, cipher_text}} = ExCrypto.encrypt(Base.decode64!(aes_256_key), message)

?