From 9ac742ee3e4098a11efb25960df93e4e1dd5ac6f Mon Sep 17 00:00:00 2001 From: Daniel Marschall <28412477+danielmarschall@users.noreply.github.com> Date: Mon, 6 May 2024 00:56:33 +0200 Subject: [PATCH] TDecCipher.DecodeBytes() Format argument is now optional --- Source/DECCipherBase.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DECCipherBase.pas b/Source/DECCipherBase.pas index 72b864ed..346159b7 100644 --- a/Source/DECCipherBase.pas +++ b/Source/DECCipherBase.pas @@ -696,7 +696,7 @@ TDECCipher = class(TDECObject) /// Exception raised if the length of the data passed as Source /// is not a multiple of the algorithm's block size. /// - function DecodeBytes(const Source: TBytes; Format: TDECFormatClass): TBytes; + function DecodeBytes(const Source: TBytes; Format: TDECFormatClass = nil): TBytes; /// /// Calculates a Cipher-based message authentication code (CMAC).