generated from denorg/starter
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [4.3.2](v4.3.1...v4.3.2) (2024-03-03) ### Bug Fixes * export cli ([713de02](713de02))
- Loading branch information
1 parent
58f4332
commit 4fe2a71
Showing
4 changed files
with
562 additions
and
560 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ function that doesn't require any privileges. | |
Import the `hash` and/or `verify` functions and use them: | ||
|
||
```ts | ||
import { hash, verify } from "jsr:@denorg/[email protected].1"; | ||
import { hash, verify } from "jsr:@denorg/[email protected].2"; | ||
|
||
const hashResult = hash("password"); | ||
const verifyResult = verify("password", hashResult); | ||
|
@@ -37,14 +37,14 @@ dpx scrypt verify <password> <hash> | |
Alternatively, you can use it directly from the CLI by using `deno run`: | ||
|
||
```bash | ||
deno run jsr:@denorg/[email protected].1/cli hash <password> | ||
deno run jsr:@denorg/[email protected].1/cli verify <password> <hash> | ||
deno run jsr:@denorg/[email protected].2/cli hash <password> | ||
deno run jsr:@denorg/[email protected].2/cli verify <password> <hash> | ||
``` | ||
|
||
You can also install it globally using the following: | ||
|
||
```bash | ||
deno install -n scrypt jsr:@denorg/[email protected].1/cli | ||
deno install -n scrypt jsr:@denorg/[email protected].2/cli | ||
``` | ||
|
||
Then, the package is available to run: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"$schema": "https://x.nest.land/[email protected].1/src/schema.json", | ||
"$schema": "https://x.nest.land/[email protected].2/src/schema.json", | ||
"name": "scrypt", | ||
"entry": "./mod.ts", | ||
"description": "This is a wasm-based (using rust-crypto) implementation of scrypt key derivation function that doesn't require any privileges.", | ||
"homepage": "https://github.com/denorg/scrypt", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"releaseType": null, | ||
"unstable": false, | ||
"unlisted": false, | ||
|
Oops, something went wrong.