Question: I'm trying to find a good (and well documented) hashing library to use with my C++ program, I only need to generate two hashes from a string.

I've tried with `crypto++` and `mhash` and I didn't manage to make them work, also with <http://www.zedwood.com/article/121/cpp-md5-function>

I would be glad if this library is cross-platform.

Answer: 
Try this open source library <http://hashlib2plus.sourceforge.net/>
Search before ask, there is already question:
[What is the best encryption library in C/C++?](https://stackoverflow.com/questions/180870/what-is-the-best-encryption-library-in-c-c)

Solutions like OpenSSL and Crypto++ are cross-platform, if you "didn't manage to make them work", you should have been more specific like: I use OS xyz version xyz, compiler xyz version xyz, IDE xyz version xyz, trying to get work library xyz version xyz from <http://xyz>, and it does not work, because xyz errors.