Instance Methodvapor 4.114.1Vapor
verify(_:created:)
Request+Password.swift:22func verify<Password, Digest>(_ password: Password, created digest: Digest) throws -> Bool where Password : DataProtocol, Digest : DataProtocol
func verify<Password, Digest>(_ password: Password, created digest: Digest) throws -> Bool where Password : DataProtocol, Digest : DataProtocol
s5Vapor7RequestC8PasswordV6verify_7createdSbx_q_tK20FoundationEssentials12DataProtocolRzAhIR_r0_lF
What are these?494EM
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
struct Password
final class Request
Represents an HTTP request in an application.
@frozen struct Bool
A value type whose instances are either true
or false
.
protocol DataProtocol : RandomAccessCollection where Self.Element == UInt8, Self.SubSequence : DataProtocol
var async: AsyncPasswordHasher { get }
var sync: PasswordHasher { get }
func hash<Password>(_ password: Password) throws -> [UInt8] where Password : DataProtocol