Navigation
Unreal Engine C++ API Reference > Plugins > PlatformCryptoTypes > IPlatformCryptoDecryptor
References
Module | PlatformCryptoTypes |
Header | /Engine/Plugins/Experimental/PlatformCrypto/Source/PlatformCryptoTypes/Public/PlatformCryptoTypes.h |
Include | #include "PlatformCryptoTypes.h" |
EPlatformCryptoResult Update
&40;
const TArrayView< const uint8 > Ciphertext,
const TArrayView< uint8 > OutPlaintext,
int32 & OutPlaintextBytesWritten
&41;
Remarks
Decrypt one or more blocks of data. OutPlaintext must be at least size of the result of GetUpdateBufferSizeBytes, or it will fail. If Ciphertext is less than the size of a block, OutPlaintext may or may not be modified until more data is provided in a future call to Update. Success if all input was valid and was decrypted successfully, or Failure otherwise
Parameters
Name | Description |
---|---|
Ciphertext | The Data to be decrypted and placed into OutPlaintext |
OutPlaintext | The decrypted output of Ciphertext. May not be written to if Ciphertext is less than block size. Must be at least GetUpdateBufferSizeBytes in size or the call will fail |
OutPlaintextBytesWritten | The amount of data that was written. This can be from 0 to (size of Ciphertext + blocksize - 1). |