PDA

View Full Version : Cryptography classes: md5crypt and standard DES



bootsector
17th March 2009, 11:16
Hi folks!

Just in case anyone needs Unix/Linux style password hashing, I've attached two classes here:

md5crypt: I just got a sample from QCA and modified it so it uses only standard QT classes.

unixcrypt: Got some old C code from internet and converted it to a QT/C++ class.

There isn't a classes/components repository for QT? Just like torry.net for Delphi components?

Cheers,

bootsector

GokuH12
23rd March 2009, 07:12
thx for the class! its come in handy in this moment :)

Kumosan
23rd March 2009, 21:48
DES might be useful, but what is wrong with QCryptographicHash for md5?

bootsector
25th March 2009, 11:53
There's nothing wrong with MD5 from QCryptographicHash. It's actually used as the foundation for the md5crypt, which is the evolution of the old crypt hashing method (based on DES).

Cheers,

bootsector