diff --git a/Demos/Cipher_Console_KDF/Cipher_Console_KDF.dpr b/Demos/Cipher_Console_KDF/Cipher_Console_KDF.dpr index 409118aa..ee82bfcb 100644 --- a/Demos/Cipher_Console_KDF/Cipher_Console_KDF.dpr +++ b/Demos/Cipher_Console_KDF/Cipher_Console_KDF.dpr @@ -81,7 +81,7 @@ begin WriteLn; // Decrypt - Cipher.Init(CipherKey, IV, 0); + Cipher.Init(RawByteString(StringOf(KeyKDF)), IV, 0); Output := Cipher.DecodeBytes(Output); // clean up inside the cipher instance, which also removes the key from RAM Cipher.Done;