Commit Graph

19 Commits

Author SHA1 Message Date
jpopesculian
a224bcaebd Added closing parentheses to verifyPassword instruction 2013-08-09 18:52:22 -04:00
Carsten Brandt
38d89026b0 CPasswordHelper::verifyPassword() return false not exception
fixes #2704
CPasswordHelper::verifyPassword() should not throw exception on invalid
password input, just return false.
2013-08-01 22:13:43 +02:00
resurtm
61c369aa70 Proper salt generation. 2013-07-10 16:28:39 +06:00
resurtm
3a8ed30e10 Removed unnecessary output. 2013-07-05 19:03:51 +06:00
resurtm
cac8df8177 Fixes:
1. Blowfish salt should have "./0-9A-Za-z" alphabet and should be 21
characters long. Proper format is: $2a$nn$xxxxxxxxxxxxxxxxxxxxx$

See: http://us2.php.net/crypt

2. CS fixes.
2013-07-05 15:37:38 +06:00
resurtm
fbbe9ed72f Docblocks fixes and other minor adjustements made. 2013-07-05 14:46:28 +06:00
resurtm
d662ee84f3 CSecurityManager:
1. Added /dev/urandom usage.
2. A couple of minor code optimizations.
2013-07-05 10:09:04 +06:00
resurtm
9cd40000d9 Fixes #2053:
1. CPasswordHelper has been refactored.

2. CSecurityManager has been enhanced and now able to generate
cryptographically strong random stuff.
2013-07-04 20:39:14 +06:00
Carsten Brandt
450d50691f Various documentation and code style fixes 2013-05-01 23:29:10 +02:00
AnatolyRugalev
4b257a8206 Fixed typo in max cost value 2013-04-22 23:38:27 +06:00
MaXL
fe51dad76f Update CPasswordHelper.php
Fix typo in validation cost param for salt.
2013-04-22 01:42:07 +12:00
borales
a7af2c5371 Fixing some typos, PHPDocs
[ci skip]
2013-03-06 00:24:35 +02:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
Alexander Makarov
e1940813c5 fixed another typo in password helper phpdoc 2013-01-08 13:34:48 +04:00
Alexander Makarov
38a8777116 fixed password helper phpdoc typos 2013-01-08 12:47:11 +04:00
Alexander Makarov
f4534cb476 added changelog, fixed code formatting and docs 2013-01-08 01:42:50 +04:00
tom--
be7a6ed153 corrected 2x CPasswordManager in comments 2012-12-04 07:36:13 -05:00
tom--
54021ddab1 renamed. static helper methods. moved to utils. constant-time string compare 2012-12-02 13:28:57 -05:00