The main exports are the SHA256Crypt and SHA512Crypt structs. Their genSalt() static members take an optional count of rounds. More rounds means more work in computing the hash — both for friendly applications and password bruteforcers. The default (as in the spec) is 5000 rounds.
Ulrich Drepper's SHA-based crypt(3) algorithms, as specified here: https://akkadia.org/drepper/SHA-crypt.txt
The main exports are the SHA256Crypt and SHA512Crypt structs. Their genSalt() static members take an optional count of rounds. More rounds means more work in computing the hash — both for friendly applications and password bruteforcers. The default (as in the spec) is 5000 rounds.