Versions in this module Expand all Collapse all v1 v1.5.2 Mar 27, 2023 v1.5.1 Mar 24, 2023 Changes in this version + type DecryptOption func(*DecryptOptions) + func SenderPublicKey(key []byte) DecryptOption + type DecryptOptions struct + SenderPublicKey []byte + type EncryptOption func(*EncryptOptions) + func RecipientPublicKey(key []byte) EncryptOption + type EncryptOptions struct + RecipientPublicKey []byte + type Option func(*Options) + func Key(k []byte) Option + func PrivateKey(key []byte) Option + func PublicKey(key []byte) Option + type Options struct + Context context.Context + Key []byte + PrivateKey []byte + PublicKey []byte + type Secrets interface + Decrypt func([]byte, ...DecryptOption) ([]byte, error) + Encrypt func([]byte, ...EncryptOption) ([]byte, error) + Init func(...Option) error + Options func() Options + String func() string