Versions in this module Expand all Collapse all v0 v0.2.0 Feb 26, 2019 Changes in this version + var ErrCouldNotDecrypt = errors.New("could not decrypt the message") + var ErrNotImplemented = errors.New("Unhandled encryption algorithm") + func Decrypt(secretKey, data []byte) ([]byte, error) + func DecryptShort(secretKey, data []byte) ([]byte, error) + func Encrypt(publicKey, data []byte) ([]byte, error) + func EncryptShort(publicKey, data []byte) ([]byte, error)