Re: [twsocket] MD5 passwords

2009-11-22 Thread Ruud Kerstens
7:54 PM To: "ICS support mailing" Subject: Re: [twsocket] MD5 passwords Ruud Kerstens wrote: Ok, I will go and read it. anyway, thanks for your replies, lets see if i can find any solution, if so i will let you know! Looks like porting this stuff to delphi would do the trick: http

Re: [twsocket] MD5 passwords

2009-11-22 Thread Arno Garrels
Ruud Kerstens wrote: > Ok, I will go and read it. > > anyway, thanks for your replies, lets see if i can find any solution, > if so i will let you know! Looks like porting this stuff to delphi would do the trick: https://www.codeblog.org/viewsrc/glibc-2.6.1/crypt/md5-crypt.c >From a brief look, O

Re: [twsocket] MD5 passwords

2009-11-22 Thread Angus Robertson - Magenta Systems Ltd
> I also know there are different options, like using --des for des > encryption. and also --md5 for md5 way of encrypting. and a --check > option to check the password. > > MD5-based scheme > http://en.wikipedia.org/wiki/Crypt_(Unix)#MD5-based_scheme > What ever it is, it's not supported by ICS (c

Re: [twsocket] MD5 passwords

2009-11-21 Thread Ko Brink
For who cares about it, its called "freeBSD md5 crypt" or "unix md5 crypt". some text i had lying around MD5 crypt was written by Poul-Henning Kamp for FreeBSD. The main reason for using MD5 was to avoid problems with American export prohibitions on cryptographic products, and to allow for a

Re: [twsocket] MD5 passwords

2009-11-21 Thread RTT
well, i created the string with a linux-tool on the radius-server (freeradius). It is used as: cryptpasswd --md5 . Free pascal has a unit that does exactly what your posted perlscript code does http://florianklaempfl.de:8000/fpctrunk/file/70e283550952/packages/hash/src/unixcrypt.pas#l1 But

Re: [twsocket] MD5 passwords

2009-11-21 Thread Ruud Kerstens
M To: "ICS support mailing" Subject: Re: [twsocket] MD5 passwords Ruud Kerstens wrote: Well, i actually do not know, you could be right, i really do not know... I also know there are different options, like using --des for des encryption. and also --md5 for md5 way of encrypting. and a --c

Re: [twsocket] MD5 passwords

2009-11-21 Thread Arno Garrels
Ruud Kerstens wrote: > Well, i actually do not know, you could be right, i really do not > know... > > I also know there are different options, like using --des for des > encryption. and also --md5 for md5 way of encrypting. and a --check > option to check the password. > I guess it really is som

Re: [twsocket] MD5 passwords

2009-11-21 Thread Ruud Kerstens
support mailing" Subject: Re: [twsocket] MD5 passwords Ruud Kerstens wrote: well, i created the string with a linux-tool on the radius-server (freeradius). It is used as: cryptpasswd --md5 . Doesn't this just encrypt the MD5 value of the password? Just a wild guess.. -- Arno Garrels --

Re: [twsocket] MD5 passwords

2009-11-21 Thread Arno Garrels
Ruud Kerstens wrote: > well, i created the string with a linux-tool on the radius-server > (freeradius). It is used as: > cryptpasswd --md5 . Doesn't this just encrypt the MD5 value of the password? Just a wild guess.. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mail

Re: [twsocket] MD5 passwords

2009-11-21 Thread Ruud Kerstens
= 0; $i < ($opt_md5 ? 8 : 2); $i++) { $salt .= $saltc[rand 64]; } $salt .= '$' if ($opt_md5); print crypt($ARGV[0], $salt), "\n"; 1; } exit !main(); -- From: "Arno Garrels&quo

Re: [twsocket] MD5 passwords

2009-11-21 Thread Arno Garrels
Ruud Kerstens wrote: > > the password 'test' should generate : > $1$/mMVthpE$sgNAe9PaR0ORB1YCc1CVq1 A MD5 checksum/hash value is an array of 16 bytes, mostly represented as a hex string, that's what StrMD5() returns. The MD5 of "test" as a hex string looks like "7318EFC576D8C24B47540D5ACFD58E5

[twsocket] MD5 passwords

2009-11-21 Thread Ruud Kerstens
Hi all, I am busy creating some database connection, and i have been looking to create the famous MD5 passwords. After testing some generators on internet, i decided to write the generator in my application, using the ics component. If I try the example, i see the string is only in normal char