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

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

Barmar
  • 669,327
  • 51
  • 454
  • 560

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
  • 669,327
  • 51
  • 454
  • 560