Navigation
API > API/Plugins > API/Plugins/PlatformCryptoTypes > API/Plugins/PlatformCryptoTypes/FAESBlockEncryptionHelper
Description
Add text to potentialy be processed by the UpdateHandlingFunction. If there is not enough text, the UpdateHandlingFunction may not be called.
| Name | Update |
| Type | function |
| Header File | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h |
| Include Path | #include "PlatformCryptoTypes.h" |
| Source | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Private/PlatformCryptoTypes.cpp |
EPlatformCryptoResult Update
(
const TArrayView < const uint8 > InDataBuffer,
const TFunctionRef < FBlockHandlerFunctionSignature > & UpdateHandlingFunction,
const TArrayView < uint8 > OutDataBuffer,
int32 & OutBytesWritten
)
Success if the data could be successfully processed, or Failure otherwise.
Parameters
| Name | Remarks |
|---|---|
| InDataBuffer | Buffer pointing to the data that needs to be encrypted/decrypted |
| UpdateHandlingFunction | A function that can encrypt/decrypt a complete block of text |
| OutDataBuffer | A buffer that can hold the complete encrypted/decrypted data from UpdateHandlingFunction |
| OutBytesWritten | The amount of bytes written to OutDataBuffer |