Raised This Month: $ Target: $400
 0% 

How to use the new md5 function


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
remain
Member
Join Date: Aug 2004
Old 09-12-2004 , 15:13   How to use the new md5 function
Reply With Quote #1

in the amxmodx.inc file i saw the declaretion is:

/* Calculates the md5 keysum of a string */
native md5(const szString[], md5buffer[34]);

I want to use md5 encrypted passwords so i edit the admin.sma file. The line 290 is:

Code:
else if (equal(password,g_aPassword[index]))
i changed it to :

Code:
else if (equal(md5(password),g_aPassword[index]))
But the compiler gives errors like missing argument.
How can i use the md5 function?

Thanks
remain is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:24.


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