Please enable JavaScript to view this site.

Process Designer

Navigation: PHP API > Other functions

Generate a hash for a user password (hashPassword)

Scroll Prev Top Next More

This function allows you to generate a password hash for a user password.

Parameter

Type

Description

$password

string

user password

This function returns a password hash for the stated user password.

Example:

$password = $this->getTableValue('PASSWORD');

$hash = $this->hashPassword($password);