Blowfish digest , how to create in Livecode

Peter TB Brett peter.brett at livecode.com
Tue Mar 28 08:58:29 EDT 2017



On 28/03/2017 00:29, Matthias Rebbe via use-livecode wrote:
> Hi,
>
> i have a MySQL DB which uses passwords  created with php crypt
> function using blowfish
>
> the php code looks like this for example
>
> $salt='$2a$08$NWy7XidPPL2XEsouCG3dy’;
> $digest= crypt(‘myPassword01’,$salt);
>
> how can i do this in Livecode server? I find SHA1digest and MD5digest
> functions in the dictionary, but no blowfishDigest function.

Hi Matthias,

Quick note that you may be affected by this PHP security vulnerability:

http://www.php.net/security/crypt_blowfish.php

I'm not sure about Blowfish-based `crypt()` with LiveCode, I'm afraid.

                                                 Peter


-- 
Dr Peter Brett <peter.brett at livecode.com>
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode




More information about the use-livecode mailing list