diff --git a/README.md b/README.md index 378b788..c33ec71 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This is a wasm-based (using rust-crypto) implementation of scrypt key derivation Import the `hash` and/or `verify` functions and use them: ```ts -import { hash, verify } from "https://deno.land/x/scrypt/mod.ts"; +import { hash, verify } from "https://deno.land/x/scrypt@v4.1.0/mod.ts"; const hashResult = hash("password"); const verifyResult = verify("password", hashResult); @@ -35,14 +35,14 @@ dpx scrypt verify Alternatively, you can use it directly from the CLI by using `deno run`: ```bash -deno run https://deno.land/x/scrypt/cli.ts hash -deno run https://deno.land/x/scrypt/cli.ts verify +deno run https://deno.land/x/scrypt@v4.1.0/cli.ts hash +deno run https://deno.land/x/scrypt@v4.1.0/cli.ts verify ``` You can also install it globally using the following: ```bash -deno install -n scrypt https://deno.land/x/scrypt/cli.ts +deno install -n scrypt https://deno.land/x/scrypt@v4.1.0/cli.ts ``` Then, the package is available to run: