MHumm / DelphiEncryptionCompendium

Cryptographic library for Embarcadero Delphi and potentially for FPC as well
Apache License 2.0
257 stars 67 forks source link

What's the relationship with github.com/decfpc/DelphiEncryptionCompendium? #8

Open edwinyzh opened 4 years ago

edwinyzh commented 4 years ago

Hello, Thanks for the project!

Does this project has any ties with https://github.com/decfpc/DelphiEncryptionCompendium which has the exact same name? Thanks!

MHumm commented 4 years ago

Thanks for pointing out this project. It seems like a copy of an older version which has been made FPC compatible and it has added a pure pascal implementation for all assembler only methods. But:

  1. The DEC version you find here in this repository is except for the FPC support (which we simply didn't test) more advanced in my eyes.
  2. Why? It contains pure pascal implementations as well.
  3. It is cross platform compatible, all methods having AnsiString parameters are made unavailable on non supported platforms and TBytes based methods for nearly every purpose are implemented as well.
  4. It contains expanded KDF support. I found out meanwhile that Hagen's KDF2 is actually KDF1 so I renamed that but implemented KDF2 and KDF3 as well.
  5. The current version of the Whirlpool cipher has been added
  6. The structure of the library has been further modularized.
  7. The arcane test program has been replaced by DUnit tests and further tests have been written.
  8. Demo programs have been created. Some for consloe and some for FMX. Two of them are even published on Gogle Play: DEC Hash Demo and DEC Cipher Demo.
  9. XMLDOC code documentation has been added
  10. A PDF format manual has been added which has 39 pages as of today.

This one stems directly from the original. It is no fork! I took over development from Arvid Winkelsdorf even if technically this repository is still his. And I guess this one here is simply more advanced with a more modern code base. If you like to contribute do so here ;-) Contributions are welcome, you'll find my e-mail address in NOTICE.TXT, it's the one with (main contact) added. Feel free to write me an e-mail.

edwinyzh commented 4 years ago

@MHumm, Thanks for the detailed explanation, I understand it clearly now!

MHumm commented 3 years ago

Looks like there could develop some cooperation of the author of decfpc and me. See other issue.

MHumm commented 3 years ago

There is some cooperation now, but decfpc has a bit different goals and requirements so both variants stay independent.