Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/justaos_utils/packages/common-utils/deps.ts>bcrypt

Common utility functions used across projects
Go to Latest
namespace bcrypt
Re-export
import { bcrypt } from "https://deno.land/x/justaos_utils@v1.9.0/packages/common-utils/deps.ts";

Functions

Check if a plaintext password matches a hash Requires the --allow-net flag

Check if a plaintext password matches a hash This function is blocking and computationally expensive but requires no additonal flags. Using the async variant is highly recommended.

Generates a salt using a number of log rounds Requires the --allow-net flag

Generates a salt using a number of log rounds This function is blocking and computationally expensive but requires no additonal flags. Using the async variant is highly recommended.

Generate a hash for the plaintext password Requires the --allow-net flag

Generate a hash for the plaintext password This function is blocking and computationally expensive but requires no additonal flags. Using the async variant is highly recommended.