Skip to content

Commit 3294def

Browse files
committed
fix: deno publish not working due to dirty git tree
1 parent 5ba8acb commit 3294def

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

example.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { hash, verify } from "https://deno.land/x/scrypt@v4.3.4/mod.ts";
2+
3+
console.time("hash");
4+
const hashResult = hash("password", { logN: 14 });
5+
console.timeEnd("hash");
6+
7+
console.time("verify");
8+
const verifyResult = verify("password", hashResult);
9+
console.timeEnd("verify");

0 commit comments

Comments
 (0)