Heya Mark,

So will Hash(password) result in the same encryption that a Unix box
uses in its '/etc/passwd' file?

These are users that have accounts on the Unix system, and we need to
authenticate them against their existing account information.

thanks!



Friday, May 7, 2004, 9:48:12 AM, you wrote:

MM> Ryan are you thinking of the md5 hash of a string?

MM> If so (and if not, why not?) CF has the Hash() funtion, and if it's Unix, it will 
MM> definatley have a version of it (either as md5() or somesuch).

MM> Since it's a one way algorithm, just compare the results of both md5 values.

MM> HTH

MM> Mark
MM> ------------------------------------------------------------------
MM> [EMAIL PROTECTED]
MM> ICQ: 3094740
MM> Safe From Bees
MM> [ www.safefrombees.com ]


MM> Quoting Ryan Sabir <[EMAIL PROTECTED]>:

>> Hey all,
>> 
>> Has anyone implemented the UNIX style 'CRYPT' algorithm in CF?
>> 
>> I have a system which will be authenticating users through a web
>> service. I need to CRYPT the password and only send the encrypted
>> version to the service, where it will be checked and I will be told if
>> the user is authenticated or not.
>> 
>> The encrypted password will be checked against a users entry in an
>> '/etc/passwd' file on a Linux box.
>> 
>> I'm pretty sure there's a standard algorithm for this.. has anyone
>> implemented it?
>> 
>> thanks, bye!
>> 
>> 
>> -----------------------
>> Ryan Sabir
>> Newgency Pty Ltd
>> 2a Broughton St
>> Paddington 2021
>> Sydney, Australia
>> Ph (02) 9331 2133
>> Fax (02) 9331 5199
>> Mobile: 0411 512 454
>> http://www.newgency.com/index.cfm?referer=rysig 
>> 
>> 
>> ---
>> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
>> To unsubscribe send a blank email to [EMAIL PROTECTED]
>> 
>> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
>> http://www.mxdu.com/ + 24-25 February, 2004
>> 
>> 
>> 

MM> ---
MM> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
MM> To unsubscribe send a blank email to [EMAIL PROTECTED]

MM> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
MM> http://www.mxdu.com/ + 24-25 February, 2004


-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to