Navigation
Unreal Engine C++ API Reference > Plugins > PlatformCryptoTypes > IPlatformCryptoEncryptor
References
Module | PlatformCryptoTypes |
Header | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h |
Include | #include "PlatformCryptoTypes.h" |
EPlatformCryptoResult Finalize
&40;
const TArrayView< uint8 > OutCiphertext,
int32 & OutCiphertextBytesWritten
&41;
Remarks
Finalizes encryption of data previously passed in Update. If data was not aligned to blocksize, this will write the final chunk of data including any padding. Success if input was valid and the final block was encrypted successfully, or Failure otherwise
Parameters
Name | Description |
---|---|
OutCiphertext | The final encrypted block, if there is more data to be written. Must be at least GetFinalizeBufferSizeBytes in size or Finalize will fail |
OutCiphertextBytesWritten | The amount of data that was written. This can be from 0 to GetFinalizeBufferSizeBytes |