DelphiEncryptionCompendium
DelphiEncryptionCompendium copied to clipboard
Cryptographic library for Embarcadero Delphi and potentially for FPC as well
You told me a few days that it would be preferrable if the padding would be randomized instead of static. I have researched on the topic and indeed, randomized padding...
**To Reproduce** 1. Open demo project Cipher_Console 2. Change Cipher.Mode to cmGCM 3. Run the code. You receive EAccessViolation --- Usually, if you change the cipher mode after the cipher...
The following method does not work: ``` procedure TFormMain.Button2Click(Sender: TObject); var Cipher: TDECCipher; s: RawByteString; begin Cipher := TCipher_Null.Create; Cipher.Init('', '', $FF); Cipher.Mode := cmECBx; s := Cipher.EncodeRawByteString('Hello'); memo1.Lines.Add(s); Cipher.Done;...
(as previously mentioned in https://github.com/MHumm/DelphiEncryptionCompendium/issues/62 ) I am using Delphi 11, have compiled DEC60.exe to compile the DCU files and then immediately compiled and ran DECUnitTestSuite.exe There are the following...
There can be ciphers which do not allow a key and are not NULL ciphers. For example, "ROT13". Therefore, the Exception sNoKeyMaterialGiven must not be thrown if Context.KeySize = 0....
All test cases except the Unicode test case are working now. The Unicode test case might be impossible, though; see more details in [#65](https://github.com/MHumm/DelphiEncryptionCompendium/issues/65#issuecomment-2094930026)