Comments (2)
I think one of the issues is the use of external libraries to support ciphersuites that are not covered by the Web Cryptography API. Currently, I'm refactoring the code to use only the Web Cryptography API and create a core module that is independent of external dependencies. Additionally, we are separating the cryptographic suites that rely on external libraries into extension modules outside the core.
If you do not use x25519/x448 or chacha20, you only need to use @hpke/core, which significantly reduces the size. Please refer to the following for more information.
- https://bundlephobia.com/package/[email protected]
- https://bundlephobia.com/package/@hpke/[email protected]
There may be other issues with package generation as well. The npm package's support for esm/cjs dual compatibility could be affecting something. I'll also look into it on my end.
from hpke-js.
The large size can also be caused by some of our internal tools that didn't successfully compress/optimize the JS files so I want to get some insights from you.
from hpke-js.
Related Issues (20)
- Add security policy document.
- Add Bun to supported JavaScript runtimes.
- Add fastly/js-compute to supported JavaScript runtimes.
- Add JWK support to importKey. HOT 3
- Support public key encoding and decoding at the suite HOT 6
- Strange interaction with vercel/ncc HOT 1
- Publish a new npm hpke-js pkg version
- Drop support for egg.
- Add package.json.
- Replace chacha20poly1305 with noble/ciphers
- Add support for X25519Kyber768
- Fix docs for deno.land. HOT 1
- suite.kemContext is not a function HOT 2
- We are using bidirectional encryption support and cannot find way to re-implement it in v1.2.3 HOT 3
- IANA codepoint for DHKEM-over-secp256k1 HOT 4
- Suggestions for Browser Extension Manifest V3 HOT 3
- Expose HKDFs as utilities HOT 1
- Cannot find module './src/cipherSuite.js' HOT 5
- Consider adding ML-KEM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hpke-js.