Skip to content

Commit

Permalink
chore(release): 4.2.0 [skip ci]
Browse files Browse the repository at this point in the history
# [4.2.0](v4.1.3...v4.2.0) (2022-08-15)

### Bug Fixes

* remove old wasm file ([a659580](a659580))

### Features

* move to std/crypto for sha256 ([d15a704](d15a704))
* use wee_alloc ([3ad9732](3ad9732))
  • Loading branch information
semantic-release-bot committed Aug 15, 2022
1 parent a1900cb commit 67fe8b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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@v4.1.3/mod.ts";
import { hash, verify } from "https://deno.land/x/scrypt@v4.2.0/mod.ts";

const hashResult = hash("password");
const verifyResult = verify("password", hashResult);
Expand All @@ -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/scrypt@v4.1.3/cli.ts hash <password>
deno run https://deno.land/x/scrypt@v4.1.3/cli.ts verify <password> <hash>
deno run https://deno.land/x/scrypt@v4.2.0/cli.ts hash <password>
deno run https://deno.land/x/scrypt@v4.2.0/cli.ts verify <password> <hash>
```

You can also install it globally using the following:

```bash
deno install -n scrypt https://deno.land/x/scrypt@v4.1.3/cli.ts
deno install -n scrypt https://deno.land/x/scrypt@v4.2.0/cli.ts
```

Then, the package is available to run:
Expand Down
4 changes: 2 additions & 2 deletions egg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"$schema": "https://x.nest.land/eggs@4.1.3/src/schema.json",
"$schema": "https://x.nest.land/eggs@4.2.0/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.1.3",
"version": "4.2.0",
"releaseType": null,
"unstable": false,
"unlisted": false,
Expand Down

0 comments on commit 67fe8b2

Please sign in to comment.