Class Portable
PHPass Portable Module
This module supports Openwall's PHPass Portable Hash format. Information about the original implementation may be found at http://www.openwall.com/phpass/.
Supported parameters:
- ident: The original implementation uses the identifier P, while phpBB3 uses H. Defaults to P.
- rounds: Optional number of rounds to use. Must be an integer between 7 and 30 inclusive. This value is logarithmic, meaning the actual number of rounds will be 2^<rounds>. Defaults to 16.
- salt: Optional salt string. If provided, it must be an 8 character string containing only characters in the regex range [./0-9A-Za-z]. It is highly recommended that this parameter be left blank, in which case the library will generate a suitable salt for you.
- PHPassLib\Hash\Portable implements PHPassLib\Hash
Namespace: PHPassLib\Hash
Package: PHPassLib\Hashes
Copyright: Copyright (c) 2012, Ryan Chouinard
License: License - http://www.opensource.org/licenses/mit-license.php
Author: Ryan Chouinard <rchouinard@gmail.com>
Located at src/PHPassLib/Hash/Portable.php
Package: PHPassLib\Hashes
Copyright: Copyright (c) 2012, Ryan Chouinard
License: License - http://www.opensource.org/licenses/mit-license.php
Author: Ryan Chouinard <rchouinard@gmail.com>
Located at src/PHPassLib/Hash/Portable.php
public static
string
|
|
public static
array
|
|
public static
string
|
|
public static
string
|
|
public static
boolean
|
|
protected static
boolean
|
string |
IDENT_PHPASS
|
'P' |
|
string |
IDENT_PHPBB
|
'H' |