class PasswordHasher (View source)

Methods

static string
hashPassword(string $pPassword)

Create a password hash from a given string.

Details

static string hashPassword(string $pPassword)

Create a password hash from a given string.

This method is based on the algorithm provided by Daniel Rentz of OpenOffice and the PEAR package Spreadsheet_Excel_Writer by Xavier Noguer xnoguer@rezebra.com.

Parameters

string $pPassword Password to hash

Return Value

string Hashed password