Skip to content

Commit

Permalink
chore(release): 4.3.0 [skip ci]
Browse files Browse the repository at this point in the history
# [4.3.0](v4.2.1...v4.3.0) (2023-12-26)

### Features

* move to new std using import map and deno.lock ([39e095f](39e095f))
* optimize wasm size using via enabling LTO and using TALC allocator ([e74b761](e74b761))
* use current OWASP params and timingSafeEqual ([3690299](3690299))
* write a simple crypto.subtle based hmac implementation to stop relying on old std ([d71d825](d71d825))
  • Loading branch information
semantic-release-bot committed Dec 26, 2023
1 parent d71d825 commit 88b0558
Show file tree
Hide file tree
Showing 4 changed files with 561 additions and 564 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.2.1/mod.ts";
import { hash, verify } from "https://deno.land/x/scrypt@v4.3.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.2.1/cli.ts hash <password>
deno run https://deno.land/x/scrypt@v4.2.1/cli.ts verify <password> <hash>
deno run https://deno.land/x/scrypt@v4.3.0/cli.ts hash <password>
deno run https://deno.land/x/scrypt@v4.3.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.2.1/cli.ts
deno install -n scrypt https://deno.land/x/scrypt@v4.3.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.2.1/src/schema.json",
"$schema": "https://x.nest.land/eggs@4.3.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.2.1",
"version": "4.3.0",
"releaseType": null,
"unstable": false,
"unlisted": false,
Expand Down
Loading

0 comments on commit 88b0558

Please sign in to comment.