Magik.Crypto.decrypt
You're seeing just the function
decrypt
, go back to Magik.Crypto module for more information.
Specs
Decode cipher data which encrypted using encrypt/2
key = generate_secret()
{:ok, cipher} = encrypt("hello", key)
decrypt(cipher, key)