Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mandarinets/security-core/mandarine-security.ns.ts>MandarineSecurity.Crypto.PasswordEncoder

Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Latest
interface MandarineSecurity.Crypto.PasswordEncoder
import { type MandarineSecurity } from "https://deno.land/x/mandarinets@v2.3.2/security-core/mandarine-security.ns.ts";
const { PasswordEncoder } = MandarineSecurity.Crypto;

Properties

encode: (rawPassword: string) => string
matches: (rawPassword: string, encodedPassword: string) => boolean