Versions in this module Expand all Collapse all v1 v1.5.4 Oct 26, 2023 Changes in this version + func Decrypt(ciphertext, privateKey []byte) ([]byte, error) + func DecryptFromBase64(base64Ciphertext, base64PrivateKey string) ([]byte, error) + func Encrypt(plaintext, publicKey []byte) ([]byte, error) + func EncryptToBase64(plaintext []byte, base64PublicKey string) (string, error) + type RSAKey struct + PrivateKey string + PublicKey string + func GenerateRSAKey() (*RSAKey, error)