File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function that doesn't require any privileges.
1616Import the ` hash ` and/or ` verify ` functions and use them:
1717
1818``` ts
19- import { hash , verify } from " https://deno.land/x/ scrypt@v4.3.1/mod.ts " ;
19+ import { hash , verify } from " jsr:@denorg/ scrypt@v4.3.1" ;
2020
2121const hashResult = hash (" password" );
2222const verifyResult = verify (" password" , hashResult );
@@ -37,14 +37,14 @@ dpx scrypt verify <password> <hash>
3737Alternatively, you can use it directly from the CLI by using ` deno run ` :
3838
3939``` bash
40- deno run https://deno.land/x/ scrypt@v4.3.1/cli.ts hash < password>
41- deno run https://deno.land/x/ scrypt@v4.3.1/cli.ts verify < password> < hash>
40+ deno run jsr:@denorg/ scrypt@v4.3.1/cli hash < password>
41+ deno run jsr:@denorg/ scrypt@v4.3.1/cli verify < password> < hash>
4242```
4343
4444You can also install it globally using the following:
4545
4646``` bash
47- deno install -n scrypt https://deno.land/x/ scrypt@v4.3.1/cli.ts
47+ deno install -n scrypt jsr:@denorg/ scrypt@v4.3.1/cli
4848```
4949
5050Then, the package is available to run:
You can’t perform that action at this time.
0 commit comments