Navigation
API > API/Plugins > API/Plugins/PlatformCryptoTypes > API/Plugins/PlatformCryptoTypes/FAESBlockEncryptionHelper
Description
Process any remaining block of text that was previously sent to Update. If there are no blocks remaining, the FinalizeHandlingFunction may not be called.
| Name | Finalize |
| 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 Finalize
(
const TFunctionRef < FBlockHandlerFunctionSignature > & FinalizeHandlingFunction,
const TArrayView < uint8 > OutDataBuffer,
int32 & OutBytesWritten
)
Success if the data could be successfully processed, or Failure otherwise.
Parameters
| Name | Remarks |
|---|---|
| FinalizeHandlingFunction | A function that can encrypt/decrypt a complete block of text |
| OutDataBuffer | A buffer that can hold the complete encrypted/decrypted data from FinalizeHandlingFunction |
| OutBytesWritten | The amount of bytes written to OutDataBuffer |