Versions in this module Expand all Collapse all v1 v1.0.1 Dec 6, 2019 v1.0.0 Dec 6, 2019 Changes in this version + var ErrPrivateKey = errors.New("private key error") + var ErrPublicKey = errors.New("public key error") + func RsaDecrypt(privateKey, ciphertext []byte) ([]byte, error) + func RsaEncrypt(publicKey, origData []byte) ([]byte, error)