func Encrypt(pub *rsa.PublicKey, data []byte) ([]byte, error) {
hash := sha256.New()
return rsa.EncryptOAEP(hash, rand.Reader, pub, data, nil)
}
func Decrypt(priv *rsa.PrivateKey, ciphertext []byte) ([]byte, error) {
hash := sha256.New()
return rsa.DecryptOAEP(hash, rand.Reader, priv, ciphertext, nil)
}
``