\Fuman_Auth_PasswordUtil

Util to encrypt password for multiple targets

Summary

Methods
Properties
Constants
createInstance()
encrypt()
No public properties found
No constants found
__construct()
No protected properties found
N/A
No private methods found
$_instance
N/A

Properties

$_instance

$_instance : object

Type

object

Methods

createInstance()

createInstance() : \Fuman_Auth_PasswordUtil

Gets the appropriate instance defined in config

Returns

\Fuman_Auth_PasswordUtil

encrypt()

encrypt(string  $userName, string  $password, integer  $minLength, integer  $strengthRatio) : null|\stdClass

Encrypt password as MD5 and HTTP-Digest

Parameters

string $userName
string $password
integer $minLength
integer $strengthRatio

Returns

null|\stdClass

__construct()

__construct() 

Constructor