Versions in this module Expand all Collapse all v1 v1.7.0 Aug 10, 2022 Changes in this version + type Decrypt struct + func NewDecrypt(recipientPrivKey *pb.HpkePrivateKey) (*Decrypt, error) + func (d *Decrypt) Decrypt(ciphertext, contextInfo []byte) ([]byte, error) + type Encrypt struct + func NewEncrypt(recipientPubKey *pb.HpkePublicKey) (*Encrypt, error) + func (e *Encrypt) Encrypt(plaintext, contextInfo []byte) ([]byte, error)