Crypt text

Is it possible to crypt a text with sha or md5 with lua.
i want crypt passwords for the user registration ingame.

I belive there was a module for that, but it had a really shitty license
I can dig up my own encryption thing i made if you teally want

[editline]05:46PM[/editline]

oh what the hell. i try this as my first binary module

gm_crypto

http://hexxeh.net/code/gm_crypto.zip

Right there is already some modules. But one of thems license sucks balls

@Tobba i should use it for a PHP site so it most be sha or md5. But thanks anyway.
Thank you Entoros and iRzilla

If you are storing it in a MySQL database then you should use the native MD5 function in MySQL, it is much faster.

404 Not Found

http://carbon.hexxeh.net/hexxeh.net/code/gm_crypto.zip

http://gmodmodules.googlecode.com/svn/trunk/gm_cryptopp/
http://gmodmodules.googlecode.com/svn/trunk/gm_cryptopp/Release/gm_cryptopp.dll

Why didn’t you search then before asking…