TwistPHP Documentation

hashPassword

File path: dist/twist/Core/Models/User/Auth.model.php
Namespace: Twist\Core\Models\User
Extends:

hashPasswordHash a password

Parameters

Name Type Description
$strPasswordstringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strPassword 'foo';

//Call the function hashPassword with the example vars
\Twist\Core\Models\User\Auth::hashPassword($strPassword);