Common encryption method for .NET.
Branch | Status |
---|---|
master | |
dev | |
release |
Name | Stable | Preview |
---|---|---|
GodSharp.Encryption |
-
MD5
-
SHA
- SHA1
- SHA256
- SHA384
- SHA512
-
HMAC
- HMACMD5
- HMACRIPEMD160
- HMACSHA1
- HMACSHA256
- HMACSHA384
- HMACSHA512
- Encrypt()
-
AES
-
DES
-
3DES
- Encrypt()
- RSA
-
Encrypt()
-
Decrypt()
generate openssl key
openssl
genrsa -out openssl_rsa_pri_2048.pem 2048
rsa -in openssl_rsa_pri_2048.pem -pubout -out openssl_rsa_pub_2048.pem
-
Encrypt()
-
Decrypt()