Class BSDiCrypt
BSDi / Extended DES Crypt Module
BSDi Crypt is based on DES Crypt, and was developed by BSDi for their BSD/OS distribution. The algorithm is also commonly known as Extended DES.
Supported parameters:
- rounds: Optional number of rounds to use. Must be an integer between 1 and 16777215 inclusive. Even rounds values will be decreased by one to create an odd number in order to prevent exposing weak keys. Defaults to 5001.
- salt: Optional salt string. If provided, it must be a 4 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.
This module uses PHP's native crypt() function, which has had native support for BSDi Crypt since 5.3.0.
- PHPassLib\Hash\BSDiCrypt 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/BSDiCrypt.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/BSDiCrypt.php
public static
string
|
|
public static
array
|
|
public static
string
|
|
public static
string
|
|
public static
boolean
|
|
protected static
boolean
|