Encrypt encrypts messages of variable length using AES 128 GCM. The encryption key is referenced using the label.
(ctx context.Context, plaintext []byte, label string)
| 36 | // Encrypt encrypts messages of variable length using AES 128 GCM. |
| 37 | // The encryption key is referenced using the label. |
| 38 | Encrypt(ctx context.Context, plaintext []byte, label string) ([]byte, error) |
| 39 | // Decrypt decrypts messages of variable length using AES 128 GCM. |
| 40 | // The encryption key is referenced using the label. |
| 41 | Decrypt(ctx context.Context, ciphertext []byte, label string) ([]byte, error) |
no outgoing calls