Versions in this module Expand all Collapse all v1 v1.0.1 May 10, 2021 v1.0.0 May 9, 2021 Changes in this version + type Codec interface + Decrypt func([]byte, ...DecryptOption) ([]byte, error) + Encrypt func([]byte, ...EncryptOption) ([]byte, error) + Init func(...Option) error + Options func() Options + String func() string + 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 PrivateKey(key []byte) Option + func PublicKey(key []byte) Option + func SecretKey(key []byte) Option + type Options struct + Context context.Context + PrivateKey []byte + PublicKey []byte + SecretKey []byte Incompatible versions in this module v2.3.0+incompatible May 9, 2021