Mcrypto v0.2.0 Mcrypto.Crypter protocol View Source

Provide encryption functionality

Link to this section Summary

Functions

decrypt a ciphertext with secret key and iv

encrypt a plaintext with secret key

Link to this section Types

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