import * as bcrypt from "https://deno.land/x/bcrypt@v0.4.1/src/main.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. | |
f hash | 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. |