AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Md5 encryption algorithm (https://forums.alliedmods.net/showthread.php?t=155476)

zeus 04-22-2011 14:21

Md5 encryption algorithm
 
I have a bit of a problem with using md5 hashing
Md5 under amxx returns a 34 char string while php md5 returns a 32 char string.
I need encryption for storing some passwords in a sql database
Any suggestions?

xPaw 04-22-2011 15:30

Re: Md5 encryption algorithm
 
It returns 32 length string, everything's fine.

zeus 04-22-2011 15:31

Re: Md5 encryption algorithm
 
So why does it say here md5buffer[34] ?

xPaw 04-22-2011 15:36

Re: Md5 encryption algorithm
 
It should be [33] there, but it doesn't change anything. Safe to use.

zeus 04-22-2011 15:38

Re: Md5 encryption algorithm
 
I see.
Is there a decompilation method for md5?

xPaw 04-22-2011 15:46

Re: Md5 encryption algorithm
 
Quote:

Originally Posted by zeus (Post 1455615)
I see.
Is there a decompilation method for md5?

It's called decryption. And no, there is none for md5.
You'd better check wiki about MD5 algorithm.


All times are GMT -4. The time now is 19:48.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.