1

I am working with Laravel 4, when i try to create a Hash i get this exception

Bcrypt hashing not supported

Knowing that my PHP version is 5.3.8 and i shouldn't upgrade it. Also mcrypt on phpinfo() is activated!

Any help would be greatly appreciated!

Obama
  • 2,586
  • 2
  • 30
  • 49

2 Answers2

0

There is a BCrypt class written in PHP that you can use. It does NOT require any special PHP version. Im not sure about performance of any native hashing libraries, but this one might need a second to hash.

It can be found here: How do you use bcrypt for hashing passwords in PHP?

Community
  • 1
  • 1
ToBe
  • 2,667
  • 1
  • 18
  • 30
0

Maybe it's too late to post the answer but the solution was : PHP should be upgraded.

Obama
  • 2,586
  • 2
  • 30
  • 49