Problem with DES

Everything else that doesn't fall into one of the other PB categories.
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Problem with DES

Post by GeoTrail »

When I run this code

Code: Select all

String.s = "password"
Debug "DES: " + DESFingerprint(String.s, Mid(String.s,1,2))
it returns papAq5PwY/QQM but when I create a password using crypt on a webserver, any webserver it results in cGyUX9QugYMgE

So what am I doing wrong here? Trying to create passwords for a htpasswd file.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!