Module |
|
Header |
/Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h |
Include |
#include "PlatformCryptoTypes.h" |
EPlatformCryptoResult Finalize
(
const TArrayView< uint8 > OutCiphertext,
int32 & OutCiphertextBytesWritten
)
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
Parameter |
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 |