TOlfCryptDecrypt.SwapCrypt Method

exchange bytes between a buffer to crypt and the key parameter

Unit: Olf.RTL.CryptDecrypt
class function SwapCrypt(const AStream: TStream; const AKeys: TByteDynArray): TMemoryStream

Parameters

AStream
Type: TStream

AKeys
Type: TByteDynArray

Return Value

Type: TMemoryStream

 

You can use the program at https://swapkeysgenerator.olfsoftware.fr/ to generate a compatible Swap keys buffer.