htpasswd creation in Livecode

Peter M. Brigham pmbrig at gmail.com
Fri Jan 18 12:45:27 EST 2013


FWIW, the md5Digest is not as secure as the sha1digest, which LC now supports.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig


On Jan 17, 2013, at 12:47 AM, Pierre Sahores wrote:

> function hexDigest pvalue 
>   put "" into tRes
>   put md5Digest(pValue) into tMD5 
>   get binaryDecode("H*",tMD5,tRes) 
>   return tRes 
> end hexDigest
> 
> If i right remember, rev version credits goes to Mark Wieder
> 
> Le 17 janv. 2013 à 05:08, stephen barncard a écrit :
> 
>> I need to make my own MD5 password generator to use with htpasswd  password
>> encryption. MD5Digests doesn't seem to cut it.
>> php has a function called crypt(
>> 
>> $password = crypt($clearTextPassword, base64_encode($clearTextPassword));
>> 
>> seems like this should be simple in livecode. What's the encryption method?
>> 
>> I'm working with the awesome Livecode server.
>> thanks for any help.




More information about the Use-livecode mailing list