weidai11 / cryptopp

free C++ class library of cryptographic schemes
https://cryptopp.com
Other
4.67k stars 1.47k forks source link

Make 3des #1200

Closed GeneThomas closed 1 year ago

GeneThomas commented 1 year ago

Thanks for your library, I like the architecture.

Triple DES is a useful cipher, based on the ancient DES which is good thing for ciphers. It is used in the payments industry https://en.wikipedia.org/wiki/EMV . Presently it is difficult to find “3DES” in your library.

Please have a 3des.h with class TDES commented as “3DES” that supports 128 bit or 192 bit keys (2 key or 3 key versions)

itamar124812 commented 1 year ago

GeneThomas

The triple des is already implemented in the des.h header. You can read about how to use it here - https://www.cryptopp.com/wiki/TripleDES#3-Key_TripleDES.

noloader commented 1 year ago

Please ask questions on the mailing list.