From 3d2e43bf0e4224f758bab3e0b034e1ce92ce376b Mon Sep 17 00:00:00 2001 From: Opliko Date: Wed, 10 Aug 2022 17:22:20 +0000 Subject: [PATCH] docs: version URLs --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: