From 3294defa71d39bd9e30ecfc5dadfca3e908e78e3 Mon Sep 17 00:00:00 2001 From: Opliko Date: Thu, 11 Apr 2024 18:07:34 +0200 Subject: [PATCH] fix: deno publish not working due to dirty git tree --- example.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 example.ts diff --git a/example.ts b/example.ts new file mode 100644 index 0000000..fe53bd5 --- /dev/null +++ b/example.ts @@ -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"); \ No newline at end of file