Mcrypto v0.2.0 Mcrypto.Crypter protocol View Source
Provide encryption functionality
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: Mcrypto.Crypter.t()
t() :: Mcrypto.Crypter.t()
Link to this section Functions
Link to this function
decrypt(crypter, cyphertext, key, iv) View Source
decrypt a ciphertext with secret key and iv
Link to this function
encrypt(crypter, plaintext, key) View Source
encrypt a plaintext with secret key