![]() [SOLVED]Md5 login system? - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [SOLVED]Md5 login system? (/showthread.php?tid=61792) [SOLVED]Md5 login system? by Lou on 06-27-2006 at 07:13 PM
For my bot utilities script, I'd like to have a multiple admin login system. What I need to know is, how would I go about calculating md5 from a recieved message. RE: [HELP]Md5 login system? by Ezra on 06-27-2006 at 07:36 PM
Try this JavaScript function RE: [HELP]Md5 login system? by Lou on 06-27-2006 at 07:43 PM
quote:How would I go about using that code? I think it has something to do with these functions but I'm not sure code: edit: What I mean is, how would I tell my own code to transfer text to md5 afterwards? RE: [HELP]Md5 login system? by L. Coyote on 06-27-2006 at 07:48 PM
Have you thought about looking at the site, Lou? => http://pajhome.org.uk/crypt/md5/ quote: RE: [HELP]Md5 login system? by Ezra on 06-27-2006 at 07:50 PM
Just call one of those functions from your code. RE: [HELP]Md5 login system? by Lou on 06-27-2006 at 07:52 PM
quote:Nope I thought it was just a download ![]() So I could go "Onwhateverevent();{ hash = hex_md5("input string") return hash; } and that would give me the md5 code I need? RE: [HELP]Md5 login system? by absorbation on 06-27-2006 at 07:54 PM
Hang on, this checks the deatails on an external webpage? If so, md5 information on the webpage, it would be alot more sercure RE: [HELP]Md5 login system? by Lou on 06-27-2006 at 07:55 PM
quote:External? No this would run directly in the scripts file. I'll try that code you gave ezra and I'll post back. edit: It works perfectly. Thank you ![]() RE: [HELP]Md5 login system? by Ezra on 06-27-2006 at 07:59 PM
quote: well... why would you return the has on an event? and you don't need to make another function. If you add that script file in the folder it's like it's one big file, so you can just call the function like it's in your script. var hash = hex_md5("password"); RE: [HELP]Md5 login system? by Lou on 06-27-2006 at 08:05 PM
quote:No its because I want to check the recieved message, if it's !login <username> | <password> then itll take <password> and see if it matches ![]() |