Skip to content

Commit

Permalink
Merge pull request #41 from dajiaji/bump-to-v0_7_0
Browse files Browse the repository at this point in the history
Bump up version to v0.7.0.
  • Loading branch information
dajiaji authored May 21, 2022
2 parents e7b4086 + daccff0 commit 2c61a93
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Unreleased

## Version 0.7.0

Released 2022-05-21

- [(#40) Add support for DHKEM(X25519, HKDF-SHA256).](https://github.com/dajiaji/hpke-js/pull/40)

## Version 0.6.0

Released 2022-05-21
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Using unpkg CDN:
<script src="https://unpkg.com/hpke-js/dist/hpke.min.js"></script>

<!-- use a specific version -->
<script src="https://unpkg.com/hpke-js@0.5.1/dist/hpke.min.js"></script>
<script src="https://unpkg.com/hpke-js@0.7.0/dist/hpke.min.js"></script>
```

Using jsDelivr CDN:
Expand All @@ -97,7 +97,7 @@ Using jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/hpke-js/dist/hpke.min.js"></script>

<!-- use a specific version -->
<script src="https://cdn.jsdelivr.net/npm/hpke-js@0.5.1/dist/hpke.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/hpke-js@0.7.0/dist/hpke.min.js"></script>
```

## Usage
Expand Down Expand Up @@ -261,8 +261,8 @@ async function doHpke() {
const pt = await recipient.open(ct);

console.log("recipient decrypted: ", td.decode(pt));

// decripted: my-secret-message-s

// encrypt reversely
const rct = await recipient.seal(te.encode('my-secret-message-r'));

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hpke-js",
"version": "0.6.0",
"version": "0.7.0",
"description": "A Hybrid Public Key Encryption (HPKE) library",
"repository": {
"type": "git",
Expand Down

0 comments on commit 2c61a93

Please sign in to comment.