Skip to content

Commit

Permalink
fix: deno publish not working due to dirty git tree
Browse files Browse the repository at this point in the history
  • Loading branch information
oplik0 committed Apr 11, 2024
1 parent 5ba8acb commit 3294def
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { hash, verify } from "https://deno.land/x/scrypt@v4.3.4/mod.ts";

console.time("hash");
const hashResult = hash("password", { logN: 14 });
console.timeEnd("hash");

console.time("verify");
const verifyResult = verify("password", hashResult);
console.timeEnd("verify");

0 comments on commit 3294def

Please sign in to comment.