0
crypt('foo','$2a$07$.blablabla') 

$2a$ refers to using CRYPT_BLOWFISH but what does 07$ refer to?

Barmar
  • 741,623
  • 53
  • 500
  • 612

1 Answers1

0

The number after $2a$ is the cost, which is the number of rounds of encryption to perform. Increasing this makes it harder to crack the encryption, but it also slows down encryption.

Barmar
  • 741,623
  • 53
  • 500
  • 612