BCryptDigest
Creates and verifies BCrypt hashes. Normally you will not need to initialize one of these classes and you will use the global BCrypt
convenience instead.
final class BCryptDigest
try BCrypt.hash("vapor", cost: 4)
See BCrypt
for more information.