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.2.1](v4.2.0...v4.2.1) (2022-09-16) ### Bug Fixes * remove wee_alloc as it's unmaintained ([#11](#11)) ([2bac73a](2bac73a))
- Loading branch information
1 parent
2bac73a
commit 72b2800
Showing
3 changed files
with
7 additions
and
7 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 |
---|---|---|
|
@@ -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/[email protected].0/mod.ts"; | ||
import { hash, verify } from "https://deno.land/x/[email protected].1/mod.ts"; | ||
|
||
const hashResult = hash("password"); | ||
const verifyResult = verify("password", hashResult); | ||
|
@@ -35,14 +35,14 @@ dpx scrypt verify <password> <hash> | |
Alternatively, you can use it directly from the CLI by using `deno run`: | ||
|
||
```bash | ||
deno run https://deno.land/x/[email protected].0/cli.ts hash <password> | ||
deno run https://deno.land/x/[email protected].0/cli.ts verify <password> <hash> | ||
deno run https://deno.land/x/[email protected].1/cli.ts hash <password> | ||
deno run https://deno.land/x/[email protected].1/cli.ts verify <password> <hash> | ||
``` | ||
|
||
You can also install it globally using the following: | ||
|
||
```bash | ||
deno install -n scrypt https://deno.land/x/[email protected].0/cli.ts | ||
deno install -n scrypt https://deno.land/x/[email protected].1/cli.ts | ||
``` | ||
|
||
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].0/src/schema.json", | ||
"$schema": "https://x.nest.land/[email protected].1/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.2.0", | ||
"version": "4.2.1", | ||
"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
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].0/lib/scrypt.ts"; | ||
import { scrypt as scryptOld } from "https://deno.land/x/[email protected].1/lib/scrypt.ts"; | ||
import { scrypt } from "./scrypt.ts"; | ||
const extremeSalt = | ||
`IkjpewCbNm4A7cuY1VL9KC3y92blEthtLf9Cet6uEoTxz5cyF660da2zeci42fYwVCVwsKogETMCXupSZZAUh6a80ZnnBTk17B3UTCSVQPpYfL8GktJ2BDokE7ox2hV8OwwUT1hFvCuJqwHZpRvZw1RNCO6HfukPdgMHhq9rWLTXXUNwrIjlmkeydKGFJz2mS1xFcvLQtle4olJVK0SXXXYHAigBfpYxxSC2acvoxuacWcXhzSSRZAMysU2J7zDfXdxnYoqz50rvmvi36g7t2WDSAdzZ44JpxVcc3bYD7xYI3UgfVMPOfeblzwJi455QIurHzDuXEUNS0tZX1kWwZ0XcNSCwGzPs7WSVHxHc0KVUNhwSz16wDYFK4pYeA29ThXgFiFICSLVshiRrCfuzRthW7IZtRa9efcf4nFJsVBk51jpHY0b8CLhARrQU92mlBULwmJKe8DgST3Vn9rva98E9jk4y7NfSb4i9g74OjuFQ8yRO3BHksBZoVtBl4wUppM2hsLt72LZKA0ZsaWW7dG9a1bgWUkBBRG5OwzARenDqQIA2Gp5V4JsXuUUYNDylCelkLUVfS7hB1AZHtnIgwVqTaGDxl7nNZGKpAx6MrOd40laTUhrtZo4prwFZROHPNVJGQk2PQDgwqxX5SWoBTK8cCCzrbGBfHq9r8BwBvSVdeQ7bgjUW2j7NCapHHZ6filzxZaVsLsEITGZNcK0t5DdSnaDLRxyOn21ncKVIyZfOdlvpytvqpQaH5RWu4G50IPkEevue8KenXpGLP0pmEseBf6eX02rlN9arqZ4HJWmD7RbAChs7OJwfKlNIawb0V3G3N0eJeXiRsYOk10GIb91pyZRLSr2AJDtiWCcMuOWZfgLVHIrUVftfh9iXmRk2RAT1sigivbNtdqcF2cVvbTVMUCe7MIPRt4dGqwOQqdReGjPy9p1CNfKfJBIgW0xhYsOGMkcUqSurHxPl4wTOnMBx8vEZQsqJCZomENA1`; | ||
|