DCPCrypt icon indicating copy to clipboard operation
DCPCrypt copied to clipboard

Key is not initialized correctly

Open zizzo81 opened this issue 1 year ago • 0 comments

This line makes the library incompatibile with other implementations.

Using a 128 bits key only results in 2 bytes of the original key being used here.

Am I right? Commenting this line makes the library work for me receiving encrypted data from a C# implementation.

https://github.com/StephenGenusa/DCPCrypt/blob/7e33ec7a32a748df05822ac54fc631945854ddd9/Ciphers/DCPrijndael.pas#L144

zizzo81 avatar Mar 27 '23 12:03 zizzo81