rounds property

int rounds
getter/setter pair

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;