Static Public Member Functions | |
static PROUD_API bool | ExpandFrom (CCryptoFastKey &outKey, const uint8_t *inputKey, int keyLength) |
static int | GetEncryptSize (int inputLength) |
static bool | Encrypt (const CCryptoFastKey &key, const uint8_t *input, int inputLength, uint8_t *output, int &outputLength, ErrorInfoPtr &errorInfo) |
static bool | Decrypt (const CCryptoFastKey &key, const uint8_t *input, int inputLength, uint8_t *output, int &outputLength, ErrorInfoPtr &errorInfo) |
static bool | EncryptByteArray (const CCryptoFastKey &key, const ByteArray &input, ByteArray &output, ErrorInfoPtr &errorInfo) |
static bool | DecryptByteArray (const CCryptoFastKey &key, const ByteArray &input, ByteArray &output, ErrorInfoPtr &errorInfo) |
static PROUD_API bool | EncryptMessage (const CCryptoFastKey &key, const CMessage &input, CMessage &output, int offset, ErrorInfoPtr &errorInfo) |
static PROUD_API bool | DecryptMessage (const CCryptoFastKey &key, const CMessage &input, CMessage &output, int offset, ErrorInfoPtr &errorInfo) |
|
static |
Decrypt data
key | Symmetric key |
input | Encrypted message |
inputLength | Size of Encrypted message |
output | Decrypted result value |
outputLength | Size of Decrypted text |
|
static |
Decrypt ByteArray
key | Symmetric key |
input | Encrypted message |
output | Decrypted result value |
|
static |
Decrypt Message
key | Symmetric key |
input | Encrypted message |
output | Decrypted result value |
offset | Decrypt start position at encrypted message |
|
static |
Encrypt data
key | Symmetric key |
input | Plain text message |
inputLength | Size of plain text |
output | Encrypted result value |
outputLength | Size of Encrypted result |
|
static |
Encrypt ByteArray
key | Symmetric key |
input | Plain text message |
output | Encrypted result value |
|
static |
Encrypt Message
key | Symmetric key |
input | Plain text message |
output | Encrypted result value |
offset | Encrypt start position at plain text message |
|
static |
outKey | |
inputKey | |
keyLength | 16 or 24 or 32 bytes |
|
static |
key | Symmetric key |
inputLength | Size of plain text |