|
Arci.Networking
|
Rsa encryptor More...
Public Member Functions | |
| RsaEncryptor (byte[] modulus, byte[] publicExponent) | |
| Creates RSA instance. More... | |
| RsaEncryptor (RSAParameters rsaParams) | |
| Creates RSA instance More... | |
| byte [] | Encrypt (byte[] toEncrypt) |
| Encrypts data More... | |
| byte [] | Decrypt (byte[] toDecrypt) |
| Decrypts data More... | |
| void | Dispose () |
| Clears allocated resources More... | |
Properties | |
| bool | UseOAEPPadding [get, set] |
| Sets true to use OAEP padding. More... | |
Rsa encryptor
|
inline |
Creates RSA instance.
Used only for encryption
| modulus | Modulus to be set |
| publicExponent | Exponent to be set |
|
inline |
Creates RSA instance
| rsaParams | Custom RSA Parameters |
|
inline |
|
inline |
Clears allocated resources
|
inline |
|
getset |
Sets true to use OAEP padding.
Otherwise PKCS#1 v1.5 padding will be used