Versions in this module Expand all Collapse all v0 v0.0.5 Apr 12, 2021 Changes in this version + func BytesToPrivateKey(priv []byte) *rsa.PrivateKey + func DecryptBytes(encrypted []byte) ([]byte, error) + func DecryptWithPrivateKey(ciphertext []byte, priv *rsa.PrivateKey) ([]byte, error) + func GenerateRSA_Keys(bits int) (*rsa.PrivateKey, *rsa.PublicKey) + func PrivateKeyToBytes(priv *rsa.PrivateKey) []byte + func PublicKeyToBytes(pub *rsa.PublicKey) []byte + func SaveKeys()