Decrypt decrypts the ciphertext and returns the plaintext or an error. Decrypt *may* decrypt ciphertexts that were encrypted using a different key than the one provided to Keeper; some drivers encode the key used in the ciphertext.
(ctx context.Context, ciphertext []byte)
| 32 | // key than the one provided to Keeper; some drivers encode the key used |
| 33 | // in the ciphertext. |
| 34 | Decrypt(ctx context.Context, ciphertext []byte) ([]byte, error) |
| 35 | |
| 36 | // Encrypt encrypts the plaintext using the key, and returns the ciphertext. |
| 37 | Encrypt(ctx context.Context, plaintext []byte) ([]byte, error) |
no outgoing calls