Class SHA256Crypt
SHA-256 Crypt Module
The SHA-256 Crypt algorithm was designed to replace MD5 Crypt by Ulrich Drepper in 2008. SHA-256 Crypt is recommended for new applications.
Supported parameters:
- rounds: Optional number of rounds to use. Must be an integer between 1000 and 999999999 inclusive. Defaults to 80000.
- salt: Optional salt string. If provided, it must be a string 0 - 16 characters in length, 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\SHA256Crypt 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/SHA256Crypt.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/SHA256Crypt.php
public static
string
|
|
public static
array
|
|
public static
string
|
|
public static
string
|
|
public static
boolean
|
|
protected static
boolean
|