Photon Fusion
2.0.8
Interface for classes that manage the encryption/decryption of byte arrays More...
Inherits IDisposable.
Inherited by DataEncryptor.
Public Member Functions | |
| bool | ComputeHash (byte *buffer, ref int bufferLength, int capacity) |
| Compute the Buffer hash and append it to the buffer itself More... | |
| bool | DecryptData (byte *buffer, ref int bufferLength, int capacity) |
| Decrypt data in place and update it's length. More... | |
| bool | EncryptData (byte *buffer, ref int bufferLength, int capacity) |
| Encrypt data in place and update it's length. More... | |
| byte[] | GenerateKey () |
| Generate the key used used by the encryption implementation More... | |
| void | Setup (byte[] key) |
| Setup the encryption implementation with the right key More... | |
| bool | VerifyHash (byte *buffer, ref int bufferLength, int capacity) |
| Verify the buffer hash that was appended to the buffer More... | |
Interface for classes that manage the encryption/decryption of byte arrays
| bool ComputeHash | ( | byte * | buffer, |
| ref int | bufferLength, | ||
| int | capacity | ||
| ) |
Compute the Buffer hash and append it to the buffer itself
| buffer | Data to compute the hash |
| bufferLength | Length of the data to hash |
| capacity | Buffer total capacity |
Implemented in DataEncryptor.
| bool DecryptData | ( | byte * | buffer, |
| ref int | bufferLength, | ||
| int | capacity | ||
| ) |
Decrypt data in place and update it's length.
| buffer | Data to decrypt |
| bufferLength | Length of the data to decrypt |
| capacity | Buffer total capacity |
Implemented in DataEncryptor.
| bool EncryptData | ( | byte * | buffer, |
| ref int | bufferLength, | ||
| int | capacity | ||
| ) |
Encrypt data in place and update it's length.
| buffer | Data to encrypt |
| bufferLength | Length of the data to encrypt |
| capacity | Buffer total capacity |
Implemented in DataEncryptor.
| byte [] GenerateKey | ( | ) |
Generate the key used used by the encryption implementation
Implemented in DataEncryptor.
| void Setup | ( | byte[] | key | ) |
Setup the encryption implementation with the right key
Implemented in DataEncryptor.
| bool VerifyHash | ( | byte * | buffer, |
| ref int | bufferLength, | ||
| int | capacity | ||
| ) |
Verify the buffer hash that was appended to the buffer
| buffer | Buffer to check the hash |
| bufferLength | Length of the data to hash |
| capacity | Buffer total capacity |
Implemented in DataEncryptor.