Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/eas_deno/services/password-service.ts>PasswordService

eas-deno is a TypeScript SDK that authenticates with the main EAS API through tokenization. Giving you the performance of Rust without having to learn FFI in Rust.
Go to Latest
class PasswordService
import { PasswordService } from "https://deno.land/x/eas_deno@v0.0.7/services/password-service.ts";

Methods

argon2HashPassword(token: string, password: string): Promise<Argon2HashPasswordResponse>
argon2Verify(
token: string,
hashedPassword: string,
password: string,
): Promise<Argon2VerifyResponse>
bcryptHashPassword(token: string, password: string): Promise<BCryptHashPasswordResponse>
bcryptVerify(
token: string,
hashedPassword: string,
password: string,
): Promise<BCryptVerifyResponse>
scryptHashPassword(token: string, password: string): Promise<SCryptHashPasswordResponse>
scryptVerify(
token: string,
hashedPassword: string,
password: string,
): Promise<ScryptVerifyResponse>