fun hash(input: String, saltRounds: Int): ByteArray
Given a secret and a number of rounds, hash the input using the platform Bcrypt implementation.
input
- The secret to be hashed
saltRounds
- The computation iterations to be performed hashing the secret