Versions in this module Expand all Collapse all v1 v1.0.2 Jun 25, 2024 Changes in this version + type Cipher interface + Decrypt func(ctx context.Context, in interface{}) error + Encrypt func(ctx context.Context, in interface{}) (string, error) + type Decryptor interface + Decrypt func(ctx context.Context, ciphertext string) (plaintext string, err error) + type Encryptor interface + Encrypt func(ctx context.Context, serial, plaintext string) (ciphertext string, err error) + SelectCertificate func(ctx context.Context) (serial string, err error)