DCPCrypt
DCPCrypt copied to clipboard
Key is not initialized correctly
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