Exemplo n.º 1
0
 public function createHash($password, $algorithm = null)
 {
     return Rhymix\Framework\Password::hashPassword($password, $algorithm);
 }
Exemplo n.º 2
0
 /**
  * @brief Create a hash of plain text password
  * @param string $password_text The password to hash
  * @param string $algorithm The algorithm to use (optional, only set this when you want to use a non-default algorithm)
  * @return string
  */
 function hashPassword($password_text, $algorithm = null)
 {
     return Rhymix\Framework\Password::hashPassword($password_text, $algorithm);
 }