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.4](v4.3.3...v4.3.4) (2024-03-03) ### Bug Fixes * commit all version replacements ([919c84c](919c84c))
- Loading branch information
1 parent
969dfa4
commit c0474ae
Showing
6 changed files
with
10 additions
and
10 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].3"; | ||
import { hash, verify } from "jsr:@denorg/[email protected].4"; | ||
|
||
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].3/cli hash <password> | ||
deno run jsr:@denorg/[email protected].3/cli verify <password> <hash> | ||
deno run jsr:@denorg/[email protected].4/cli hash <password> | ||
deno run jsr:@denorg/[email protected].4/cli verify <password> <hash> | ||
``` | ||
|
||
You can also install it globally using the following: | ||
|
||
```bash | ||
deno install -n scrypt jsr:@denorg/[email protected].3/cli | ||
deno install -n scrypt jsr:@denorg/[email protected].4/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
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].3/src/schema.json", | ||
"$schema": "https://x.nest.land/[email protected].4/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.3", | ||
"version": "4.3.4", | ||
"releaseType": null, | ||
"unstable": false, | ||
"unlisted": false, | ||
|
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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Just a few simple benchmarks | ||
* @todo document the benchmarks better | ||
*/ | ||
import { scrypt as scryptOld } from "https://deno.land/x/[email protected].3/lib/scrypt.ts"; | ||
import { scrypt as scryptOld } from "https://deno.land/x/[email protected].4/lib/scrypt.ts"; | ||
import { scrypt } from "./scrypt.ts"; | ||
const extremeSalt = | ||
`IkjpewCbNm4A7cuY1VL9KC3y92blEthtLf9Cet6uEoTxz5cyF660da2zeci42fYwVCVwsKogETMCXupSZZAUh6a80ZnnBTk17B3UTCSVQPpYfL8GktJ2BDokE7ox2hV8OwwUT1hFvCuJqwHZpRvZw1RNCO6HfukPdgMHhq9rWLTXXUNwrIjlmkeydKGFJz2mS1xFcvLQtle4olJVK0SXXXYHAigBfpYxxSC2acvoxuacWcXhzSSRZAMysU2J7zDfXdxnYoqz50rvmvi36g7t2WDSAdzZ44JpxVcc3bYD7xYI3UgfVMPOfeblzwJi455QIurHzDuXEUNS0tZX1kWwZ0XcNSCwGzPs7WSVHxHc0KVUNhwSz16wDYFK4pYeA29ThXgFiFICSLVshiRrCfuzRthW7IZtRa9efcf4nFJsVBk51jpHY0b8CLhARrQU92mlBULwmJKe8DgST3Vn9rva98E9jk4y7NfSb4i9g74OjuFQ8yRO3BHksBZoVtBl4wUppM2hsLt72LZKA0ZsaWW7dG9a1bgWUkBBRG5OwzARenDqQIA2Gp5V4JsXuUUYNDylCelkLUVfS7hB1AZHtnIgwVqTaGDxl7nNZGKpAx6MrOd40laTUhrtZo4prwFZROHPNVJGQk2PQDgwqxX5SWoBTK8cCCzrbGBfHq9r8BwBvSVdeQ7bgjUW2j7NCapHHZ6filzxZaVsLsEITGZNcK0t5DdSnaDLRxyOn21ncKVIyZfOdlvpytvqpQaH5RWu4G50IPkEevue8KenXpGLP0pmEseBf6eX02rlN9arqZ4HJWmD7RbAChs7OJwfKlNIawb0V3G3N0eJeXiRsYOk10GIb91pyZRLSr2AJDtiWCcMuOWZfgLVHIrUVftfh9iXmRk2RAT1sigivbNtdqcF2cVvbTVMUCe7MIPRt4dGqwOQqdReGjPy9p1CNfKfJBIgW0xhYsOGMkcUqSurHxPl4wTOnMBx8vEZQsqJCZomENA1`; | ||
|
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