From 155cf6aeea9ba7ecbc39face6442d3ce1b03ad8e Mon Sep 17 00:00:00 2001 From: Nils Schwabe Date: Wed, 4 Jun 2014 14:27:03 +0200 Subject: Add webinterface with functionallity --- management-interface/lib/api/classBcrypt.html | 204 ++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 management-interface/lib/api/classBcrypt.html (limited to 'management-interface/lib/api/classBcrypt.html') diff --git a/management-interface/lib/api/classBcrypt.html b/management-interface/lib/api/classBcrypt.html new file mode 100644 index 0000000..c23dd78 --- /dev/null +++ b/management-interface/lib/api/classBcrypt.html @@ -0,0 +1,204 @@ + + + + + + + +Fat-Free Framework: Bcrypt Class Reference + + + + + + +
+
+ + + + + + +
+
Fat-Free Framework +  3.2.2 +  Overview Class List Hierarchy +
+
+
+ + +
+
+
+Public Member Functions | +Public Attributes | +List of all members
+
+
Bcrypt Class Reference
+
+
+ +

Lightweight password hashing library. + More...

+
+ + Inheritance diagram for Bcrypt:
+
+
+ + + + + + + + + +

+Public Member Functions

 hash ($pw, $salt=NULL, $cost=self::COST)
 
 needs_rehash ($hash, $cost=self::COST)
 
 verify ($pw, $hash)
 
+ + + + + + + + + +

+Public Attributes

+const COST =10
 Default cost.
 
+const E_CostArg ='Invalid cost parameter'
 
+const E_SaltArg ='Salt must be at least 22 alphanumeric characters'
 
+ + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Prefab
static instance ()
 
+

Detailed Description

+

Lightweight password hashing library.

+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Bcrypt::hash ( $pw,
 $salt = NULL,
 $cost = self::COST 
)
+
+

Generate bcrypt hash of string

+
Returns
string|FALSE
+
Parameters
+ + + + +
$pwstring
$saltstring
$costint
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Bcrypt::needs_rehash ( $hash,
 $cost = self::COST 
)
+
+

Check if password is still strong enough

+
Returns
bool
+
Parameters
+ + + +
$hashstring
$costint
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Bcrypt::verify ( $pw,
 $hash 
)
+
+

Verify password against hash using timing attack resistant approach

+
Returns
bool
+
Parameters
+ + + +
$pwstring
$hashstring
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
-- cgit v1.2.3-55-g7522