Versions in this module Expand all Collapse all v2 v2.9.4 Aug 5, 2020 v2.9.3 Aug 5, 2020 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