rounds property
bcrypt cost (log rounds) for new hashes. Default: 10. Each step up doubles the time. Allowed: 4 to 31. Old hashes keep their own cost, so they still verify.
Hash.rounds = 12;
Implementation
static int rounds = 10;
bcrypt cost (log rounds) for new hashes. Default: 10. Each step up doubles the time. Allowed: 4 to 31. Old hashes keep their own cost, so they still verify.
Hash.rounds = 12;
static int rounds = 10;