Skip to content

Class

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

Overview

try BCrypt.hash("vapor", cost: 4)

See BCrypt for more information.

Topics

Initializers

  • init()
    Creates a new BCryptDigest. Use the global BCrypt convenience variable.

Instance Methods