php password_hash equivalent in livecode

436 Views Asked by At

In php, we have a password_hash function to create a password hash. Do we have an equivalent for this function in livecode?

Password has function here

1

There are 1 best solutions below

0
On

According to http://php.net/manual/en/function.password-hash.php PHP's password_hash function uses bcrypt as the underlying algorithm.

I don't think LiveCode has bcrypt support natively, so you may need to install an external into your stack or call out to the command line using the shell function to get a decent hash.