This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

MD5 script

Old posts that have not been replied to for several years.
Locked
c
cvanmeer
Halfop
Posts: 40
Joined: Tue Dec 02, 2003 1:00 pm
Location: The Netherlands
Contact:

MD5 script

Post by cvanmeer »

Hi,

could somebody help me write a script that can code and decode to / from MD5?

I want to make a encryption / decryption TCL script so people can do like: !md5 chris and it will return: chris = 6b34fe24ac2ff8103f6fce1f0da2ef57

thx

Chrizz
c
cvanmeer
Halfop
Posts: 40
Joined: Tue Dec 02, 2003 1:00 pm
Location: The Netherlands
Contact:

encoding works

Post by cvanmeer »

proc md5start {nick host hand chan text} {
putquick "PRIVMSG $chan :[md5 $text]"
}

this works for encoding....but I can't decode it
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

MD5 is a 1 way hash, as such, it was never meant to be 'decoded'.
If you need to check if it is the same as something, take a md5 hash of that and compare the two md5 hashes.
Locked