Encrypt takes a plaintext, a key and additional data and returns the plaintext encrypted with the key, using the additional data for authentication
(plaintext interface{}, key []byte, additionalData string)
| 104 | // Encrypt takes a plaintext, a key and additional data and returns the plaintext encrypted with the key, using the |
| 105 | // additional data for authentication |
| 106 | Encrypt(plaintext interface{}, key []byte, additionalData string) (ciphertext string, err error) |
| 107 | // Encrypt takes a ciphertext, a key and additional data and returns the ciphertext encrypted with the key, using |
| 108 | // the additional data for authentication |
| 109 | Decrypt(ciphertext string, key []byte, additionalData string) (plaintext interface{}, err error) |
no outgoing calls