Released 2024-11-05
Released 2024-11-04
- (#445) Update dependabot.yml to check npm/package-lock.json.
- (#444) Implement X-Wing experimentally.
- (#443) Add test for serialize/deserializePrivateKey.
- (#441) Add */test/runtimes/cloudflare to npm workspaces.
- (#440) Add vscode setting.
- (#439) Refine deno task sample:node.
- (#438) Add samples to npm workspaces.
- (#437) Add @group Error for docs.
- (#437) Remove BaseError.
- (#436) Change main docs from hpke-js to @hpke/core.
- (#435) Remove deno.land from docs.
- (#433) Implement DhkemX4489HkdfSha512 on @hpke/core.
- (#432) Disclose base64UrlToBytes on @hpke/common.
- (#431) Implement DhkemX25519HkdfSha256 on @hpke/core.
- Update devDependencies:
Released 2024-10-12
- (#427) Introduce isDeno utility instead of isNode.
- (#425) Use codecove only to Deno v2.
- (#424) Add isDenoV1 for testing.
- (#423) Fix deno task test:* for Deno v2.
- (#422) Bump base deno version to v2.0.0.
Released 2024-10-07
- (#417) Use @hpke/common for HkdfSha384.
- (#416) Remove duplicated isNode.
- (#415) Fix import-map path.
- (#414) Add deno task sample:deno.
- (#413) Add deno task sample:node.
Released 2024-10-06
- (#412) Refine publish workflow for npm packages.
- (#412) Add @hpke modules to import_map for dnt.
- (#412) Use npm/import_map for dnt.
Reverted to 1.3.1 2024-10-06
Released 2024-10-06
- (#409) Refine publish workflow.
- (#407) Refine deno task test:all.
- (#406) Merge test utils to @hpke/common.
- (#405) Update bun test.
- (#403) Add deno task update.
- (#401) Refine import_map.
- (#400) Introduce @hpke/common as an internal-use module.
- (#399) Add testPattern.
- (#398) Apply npm audit fix.
- (#388) Separate the import-map for Dnt from the top-level import-map.
- (#386) Add deno task test:cloudflare.
- (#385) Refine dependencies.
- (#384) Add getPath.
- (#383) Rename npm-packages/x to npm/packages.
- (#382) Rename x to packages.
- (#381) Update samples for node.
- Update devDependencies:
Released 2024-09-01
- (#379) Fix link to doc from deno.land to jsr.io.
- (#378) Use npx jsr publish.
- (#377) Add needs for npm publish.
- (#376) Use bun link.
- (#375) Refine dependencies for bun test.
- (#374) Fix use of npm link.
- (#373) Add package-lock.json.
- (#372) Remove node_modules before dnt.
- (#371) Use npm link on cloudflare CI.
- (#370) Refine dependencies for cloudflare test.
- (#369) Add deno task npm-pack.
- (#368) Add deno task npm-link and npm.
- (#367) Remove scripts/.
- (#366) Add samples for Node.
- (#365) Set noEmit true for tsconfig.json.
- (#364) Refine dependencies on import-map for npm.
- (#363) Move samples to x/.
- (#362) Update Node sample of hpke-js.
- (#360) Add Deno sample using JSR.
- Update devDependencies:
Released 2024-08-31
- (#358) Move (deprecated)Kem, Kdf and Aead from core to hpke-js.
- (#355) Add support for Node 22.
- (#345) Disclose common functions on @hpke/core for hpke-js extensions.
- (#314, etc.) Add support for deno workspace and JSR registry.
- Update devDependencies:
Released 2024-08-05
- Update devDependencies:
Released 2024-08-04
- (#307) Add config to deno test on test/runtimes/cloudflare.
- (#305) Fix ekm byte length typo in Hybrid KEM.
- (#303) Fix linter/formatter error on samples/ts-webpack.
- (#301) Add webpack sample.
- Update dependencies:
- Update devDependencies:
Released 2024-01-28
- Update dependencies:
Released 2024-01-28
- (#294) Add support for importKey for P-521 public key on Deno.
- (#293) Fix test to follow Deno update.
- (#293) Add noEmit to tsconfig.json.
- Update dependencies:
- Update devDependencies:
Released 2023-11-26
- (#291) Make dnt emit type declaration inline.
- Update workflows:
- Update devDependencies:
Released 2023-11-05
- (#288) Unlock the version of Deno on CI for cloudflare workers and bun.
- (#288) Bump @noble/ciphers to 0.4.0.
- (#285) Add test for bidirectional encryption.
Released 2023-09-09
- (#282) Update devDependencies.
- (#281) Bump @noble/ciphers to 0.3.0.
- (#280) Bump @noble/curves to 1.2.0.
- (#279) Bump @noble/hashes to 1.3.2.
- (#279) Sync kyber implementation to crystals-kyber-js.
- (#275) Add BaseError/KyberError.
Released 2023-08-20
- (#273) Add docstring for tsdoc.
- (#272) Refactor kyber.
- (#271) Introduce constantTimeCompare to kyber.
- (#270) Update loadSubtleCrypto/loadCrypto.
Released 2023-08-19
- (#264) Refine READMEs.
- (#263) Add support for the hybrid post-quantum KEM (X25519Kyber768Draft00) experimentally.
Released 2023-08-16
Released 2023-08-15
Released 2023-08-15
- (#256) Remove unused utilities.
- (#251) Refactor KEM implementation.
- (#251) Add NativeAlgorithm as base class for cryptographic algorithms using Web Cryptography API.
- (#251) Add KemId.NotAssigned.
- (#250) Use deno-fmt-ignore for const byte string.
- (#249) Add serialize/deserializePrivatekey to KemInterface.
Released 2023-08-11
- (#246) Remove api parameter from KdfInterface.init().
- (#245) Remove init() from AeadInterface.
- (#244) Remove init() from KemInterface.
- (#240) Refactor DhkemSecp256k1HkdfSha256.
- (#239) Bump noble/ciphers to 0.2.0.
Released 2023-08-07
- (#237) Separate consts to minimize the size of submodules.
- (#236) Update dnt config.
- (#235) Fix unnecessary disclosure for AesGcm classes.
- (#232) Remove tsdoc remarks.
Released 2023-08-06
- (#230) Simplify and expose HpkeError.
- (#229) Rename *ContextInterface to *Context.
- (#227) Refine tsdoc description.
Released 2023-08-06
Released 2023-08-05
- (#222) Increase the input limits from 128 bytes to 8192 bytes. by @snorp
- (#220) Add hpke/chacha20poly1305.
- (#219) Add hpke/dhkem-x448.
- (#218) Update dhkem-secp256k1 test to use hpke/core.
- (#217) Add hpke/dhkem-x25519.
- (#216) Add hpke/core.
- (#215) Expose CipherSuiteNative class for hpke-js.
- (#214) BREAKING CHANGES for 1.0.0.
- Change CipherSuite.kem/kdf/aead to CipherSuite.kem.id/kdf.id/aead.id.
- Remove KemId.DhkemSecp256"K"1HkdfSha256.
- Remove CipherSuite.kemContext(). (Use CipherSuite.kem)
- Remove CipherSuite.kdfContext(). (Use CipherSuite.kdf)
- Remove createAeadKey from CipherSuite. (Use CipherSuite.aead.createEncryptionContext())
- Rename AeadKey to AeadEncryptionContext.
- Simplify AeadEncryptionContext interface.
- Drop support for bi-drectional encryption.
- (#213) Update x/dhkem-secp256k1/deno.json.
- (#212) Separate the HKDF classes dependent on external modules from the independent base class.
- (#211) Separate dhkemPrimitives from dhkem classes.
Released 2023-07-28
Released 2023-07-28
Released 2023-07-27
- (#199) Add common server for testing.
- (#196) BREAKING: Separate dhkemSecp256k1HkdfSha256 from core module.
- Update dev dependencies:
Released 2023-07-25
- (#194) Expose AEAD Classes for CipherSuiteParams.
- (#193) Add AeadInterface for CipherSuiteParams.
- (#192) Add mod.ts to formatter/linter targets.
- (#191) Update CipherSuiteParameters to make Kem/KdfInterface to be set instead of Kem/KdfId.
- (#190) Introduce union type algorithm identifier.
- (#189) Add support for Node.js 20.
Released 2023-07-19
- (#187) Use noble/curves/secp256k1 instead of noble/secp256k1.
- (#186) Update deno.json not to use 'files'.
- (#185) Refactor KEM/KDF/AEAD constructor.
Released 2023-07-17
- (#183) Add support for importKey('jwk').
- (#181) Adopt noble-ciphers insterad of standardlib for ChaCha20/Poly1305.
- (#178) Merge import-map into deno.json.
- Update dev dependencies:
Released 2023-06-13
- (#172) Add deno.lock.
- (#170) Drop support for nest.land.
- Update dev dependencies:
Released 2023-06-13
- (#165) Use audited version of noble/curves.
- (#163) Fix a typo in the CipherSuite.ts.
- Update dev dependencies:
Released 2023-04-08
- (#155) Fix TypeScript compile error.
- (#148) Add SECURITY.md.
- Update dev dependencies:
Released 2023-01-17
Released 2023-01-17
- (#141) Allow to use over hash size length key for SHA384.
- (#140) Use noble/hashes for HDKF fallback process.
Released 2023-01-16
Released 2023-01-16
- (#136) Use audited secp256k1 lib.
- (#135) Refine the table of supported runtimes.
- (#134) Add support for bun.
- (#132) Activate DHKEM P-384 test for Deno.
- (#130) Add npm package to import-map.json.
- (#125) Add dependabot.yml.
- Update dev dependencies:
Released 2023-01-05
Released 2023-01-05
- (#121) Bump deno/std to 0.170.0.
- (#120) Add support for DHKEM(secp256k1, HKDF-SHA256) experimentally.
Released 2023-01-04
- (#118) Refine KDF Interface.
- (#117) Refine KDF Interface.
- (#116) Refine KEM Interface.
- (#112) Remove bundles.
- (#107) Add Node.js v19 to CI.
- (#106) Fix import path to deno.land on README.
Released 2022-11-06
Released 2022-10-28
- (#101) Expose suite-specific KDF and AEAD interface.
- (#98) Replace deno test jobs with parallel.
- (#94) Add edge and chrome to playwright test projects.
- (#93) Add cov to deno tasks.
- (#92) Introduce import-map.
- (#91) Refine deno.json.
- (#90) Add the minimum supported versions to README.
Released 2022-07-01
Released 2022-07-01
Released 2022-06-26
- (#84) BREAKING: Use git tags for versioning.
- (#83) Ship to nest.land.
- (#82) Add fmt and lint to deno tasks.
Released 2022-06-18
Released 2022-06-11
Released 2022-06-09
Released 2022-06-07
Released 2022-06-06
Released 2022-06-06
Released 2022-06-05
Released 2022-06-05
Released 2022-06-05
Released 2022-05-29
- (#53) Remove 'deriveKey' from key usages.
- (#53) Flush internal buffer for secrets.
- (#52) Add supported environments to README.
Released 2022-05-28
Released 2022-05-24
- (#47) Refine typedoc description.
- (#47) BREAKING: Add minimum length check for PSK.
- (#46) Add importKey to CipherSuite.
- (#45) BREAKING: Add input length validation.
Released 2022-05-22
Released 2022-05-21
Released 2022-05-21
Released 2022-05-16
Released 2022-05-15
- (#30) Add support for deriveKeyPair.
- (#30) BREAKING: Remove deriveKey.
- (#29) Fix upper limit check for sequence number of encryption.
- (#28) Improve test coverage.
- (#25) Add SerializeError.
- (#25) Enable lint test on github action.
- (#25) Introduce KemPrimitives to make it easy to add KEM algorithms.
- (#24) Introduce AeadKey interface to make it easy to add new AEAD algorithms.
Released 2022-05-12
Released 2022-05-10
- (#20) Add samples to README.
- (#19) Fix bug on browser environment.
- (#18) Change the default test environment from jsdom to node.
- (#16) Add support for bidirectional environment.
Released 2022-05-08
Released 2022-05-08
Released 2022-05-07
Released 2022-05-07
Released 2022-05-06
- Fix bug on using Web Crypto API on Node.js environment.
Released 2022-05-06
- Add support for Node.js environment.
Released 2022-05-06
- First public preview release.