PasswordVerifier

public protocol PasswordVerifier

Capable of verifying that a supplied password matches a hash.

  • Verifies that the supplied password matches a given hash.

    Declaration

    Swift

    func verify(_ password: LosslessDataConvertible, created hash: LosslessDataConvertible) throws -> Bool