Murl::Util::Rsa Class Reference
The rsa crypto class. More...
#include "murl_util_rsa.h"
Static Public Member Functions | |
static Data | Encrypt (const ConstData &message, const String &publicKey) |
Encrypt data using a public key string. More... | |
static Data | Encrypt (const ConstData &message, const ConstData &publicKey) |
Encrypt data using a public key data object. More... | |
static Data | Decrypt (const ConstData &cypher, const String &privateKey) |
Decrypt data using a private key string. More... | |
static Data | Decrypt (const ConstData &cypher, const ConstData &privateKey) |
Decrypt data using a private key data object. More... | |
static Data | Sign (const ConstData &message, const String &privateKey) |
Sign data using a private key string. More... | |
static Data | Sign (const ConstData &message, const ConstData &privateKey) |
Sign data using a private key data object. More... | |
static Data | Verify (const ConstData &cypher, const String &publicKey) |
Verify data using a public key string. More... | |
static Data | Verify (const ConstData &cypher, const ConstData &publicKey) |
Verify data using a public key data object. More... | |
Detailed Description
The rsa crypto class.
Member Function Documentation
◆ Encrypt() [1/2]
Encrypt data using a public key string.
- Parameters
-
message The data object to encrypt. publicKey The public key.
- Returns
- The encrypted data object.
◆ Encrypt() [2/2]
|
static |
Encrypt data using a public key data object.
- Parameters
-
message The data object to encrypt. publicKey The public key.
- Returns
- The encrypted data object.
◆ Decrypt() [1/2]
Decrypt data using a private key string.
- Parameters
-
cypher The data object to decrypt. privateKey The private key.
- Returns
- The decrypted data object.
◆ Decrypt() [2/2]
|
static |
Decrypt data using a private key data object.
- Parameters
-
cypher The data object to decrypt. privateKey The private key.
- Returns
- The decrypted data object.
◆ Sign() [1/2]
Sign data using a private key string.
- Parameters
-
message The data object to sign. privateKey The private key.
- Returns
- The signed data object.
◆ Sign() [2/2]
|
static |
Sign data using a private key data object.
- Parameters
-
message The data object to sign. privateKey The private key.
- Returns
- The signed data object.
◆ Verify() [1/2]
Verify data using a public key string.
- Parameters
-
cypher The data object to verify. publicKey The public key.
- Returns
- The verified data object.
◆ Verify() [2/2]
|
static |
Verify data using a public key data object.
- Parameters
-
cypher The data object to verify. publicKey The public key.
- Returns
- The verified data object.
The documentation for this class was generated from the following file:
- murl_util_rsa.h