Skip to main content

Built and signed on GitHub Actions

It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
88%
Published
2 months ago (1.0.3)
function hash
hash(password: string): string

Hashes the password and returns a string

Parameters

password: string

Password to hash

Return Type

Hashed Password

Add Package

deno add @ts-rex/argon2

Import symbol

import { hash } from "@ts-rex/argon2";

---- OR ----

Import directly with a jsr specifier

import { hash } from "jsr:@ts-rex/argon2";

Add Package

npx jsr add @ts-rex/argon2

Import symbol

import { hash } from "@ts-rex/argon2";

Add Package

yarn dlx jsr add @ts-rex/argon2

Import symbol

import { hash } from "@ts-rex/argon2";

Add Package

pnpm dlx jsr add @ts-rex/argon2

Import symbol

import { hash } from "@ts-rex/argon2";

Add Package

bunx jsr add @ts-rex/argon2

Import symbol

import { hash } from "@ts-rex/argon2";