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. |