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 @@
+
+
+
+
+
+
+
Lightweight password hashing library.
+ More...
+
+
+
+
+
+

+
+
+
+ |
+|
+const | COST =10 |
+| | Default cost.
|
+| |
+ |
+|
+const | E_CostArg ='Invalid cost parameter' |
+| |
+|
+const | E_SaltArg ='Salt must be at least 22 alphanumeric characters' |
+| |
+
+
+
Lightweight password hashing library.
+
+
+
+
+
+
+ | Bcrypt::hash |
+ ( |
+ |
+ $pw, |
+
+
+ |
+ |
+ |
+ $salt = NULL, |
+
+
+ |
+ |
+ |
+ $cost = self::COST |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Generate bcrypt hash of string
+
- Returns
- string|FALSE
+
- Parameters
-
+
+ | $pw | string |
+ | $salt | string |
+ | $cost | int |
+
+
+
+
+
+
+
+
+
+
+
+ | Bcrypt::needs_rehash |
+ ( |
+ |
+ $hash, |
+
+
+ |
+ |
+ |
+ $cost = self::COST |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Check if password is still strong enough
+
- Returns
- bool
+
- Parameters
-
+
+ | $hash | string |
+ | $cost | int |
+
+
+
+
+
+
+
+
+
+
+
+ | Bcrypt::verify |
+ ( |
+ |
+ $pw, |
+
+
+ |
+ |
+ |
+ $hash |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Verify password against hash using timing attack resistant approach
+
- Returns
- bool
+
- Parameters
-
+
+ | $pw | string |
+ | $hash | string |
+
+
+
+
+
+
+
The documentation for this class was generated from the following file:
+
--
cgit v1.2.3-55-g7522