Initializervapor 4.106.3Vapor
init(hasher:threadPool:eventLoop:)
AsyncPasswordHasher.swift:23init(hasher: PasswordHasher, threadPool: NIOThreadPool, eventLoop: EventLoop)
Other members in extension
Instance members
func hash(String
) -> EventLoopFuture<String> func hash<Password>(Password
) -> EventLoopFuture<[UInt8]> func hash(String
) async throws -> String func hash<Password>(Password
) async throws -> [UInt8] func verify(String, created: String
) -> EventLoopFuture<Bool> func verify<Password, Digest>(Password, created: Digest
) -> EventLoopFuture<Bool> func verify(String, created: String
) async throws -> Bool func verify<Password, Digest>(Password, created: Digest
) async throws -> Bool