Hi Christian,
> I need to look for a C# dll though
No need to. The code is using the same crypto API that C# would use in the end, and is also using a standard algorithm named SHA1. Any function that uses the SHA1 standard produces the same result. For C# check out
http://msdn.microsoft.com/en-us/library/system.security.cryptography.sha1.aspx>But what about passwords that need to be sent decrypted, like a password for the database backend?
If you can avoid that. For instance, SQL Server has the possibility of using integrated windows authentication which works without transferring any password. There is no secure way to store a password in any program. It's only that some ways are easier to crack than others.
--
Christof