Versions in this module Expand all Collapse all v0 v0.0.24 Sep 13, 2023 v0.0.21 Sep 8, 2023 v0.0.6 Apr 26, 2023 Changes in this version + func Decrypt(cipherText []byte, privateKey [32]byte) ([]byte, error) + func Encrypt(plainText []byte, publicKey [32]byte) ([]byte, error) + func GenerateKey() (priv, pub [32]byte, err error)