Hasher outputs, available as both bytes/ base64 of the hash digest and salt. Also includes the cost parameter and the formatted bcrypt hash string.
The hashing parameters, only a password is required. Defaults to a randomly generated salt and a cost of 12
Main Bcrypt hashing alogrithm, truncates password input at 72 bytes. Only returns the raw digest bytes.
Initial constructor function, from which further parameters can be modified.