Versions in this module Expand all Collapse all v0 v0.3.0 Aug 16, 2026 v0.2.0 Aug 7, 2026 Changes in this version + type Cipher struct + func New(cfg Config) (*Cipher, error) + func (c *Cipher) Decrypt(_ context.Context, ciphertext []byte, keyID string) ([]byte, error) + func (c *Cipher) Encrypt(_ context.Context, plaintext []byte) ([]byte, string, error) + type Config struct + Key []byte + KeyID string