Versions in this module Expand all Collapse all v0 v0.0.1 Nov 14, 2021 Changes in this version + const PrivateKeySize + const PublicKeySize + func DecryptStream(input io.Reader, output io.Writer, privateKey PrivateKey) error + func DeriveEncryptionKey(privateKy PrivateKey, publicKey PublicKey) (encryptionKey []byte, err error) + func EncryptStream(input io.Reader, output io.Writer, publicKey PublicKey) error + func GenKeyPair() (privateKey PrivateKey, publicKey PublicKey, err error) + type PrivateKey = []byte + func GenPrivateKey() (privateKey PrivateKey, err error) + type PublicKey = []byte + func GetPublicKey(privateKey PrivateKey) (publicKey PublicKey, err error)