Versions in this module Expand all Collapse all v1 v1.1.2 Dec 10, 2021 Changes in this version + func Base64DecryptWithPrivateKey(ciphertextEnc string, priv *rsa.PrivateKey) []byte + func Base64EncryptWithPublicKey(msg []byte, pub *rsa.PublicKey) string + func Base64ToPublicKey(pub string) *rsa.PublicKey + func BytesToPrivateKey(priv []byte) *rsa.PrivateKey + func ChunkAndEncrypt(msg []byte, pub *rsa.PublicKey) []byte + func DecryptChunked(ciphertext []byte, priv *rsa.PrivateKey) []byte + func DecryptWithPrivateKey(ciphertext []byte, priv *rsa.PrivateKey) []byte + func EncryptWithPublicKey(msg []byte, pub *rsa.PublicKey) []byte + func GenerateKeyPair(bits int) (*rsa.PrivateKey, *rsa.PublicKey) + func PrivateKeyToBytes(priv *rsa.PrivateKey) []byte + func PublicKeyToBase64(pub *rsa.PublicKey) string v1.1.1 Oct 5, 2021