Comments (6)
0.5.3
from noble-ciphers.
from noble-ciphers.
as for secretstream - i don't think it's very popular, but documenting a way to encrypt huge files would be useful for README.
from noble-ciphers.
Quick turnaround dude, thanks!
And you're right about secretstream, only discovered it not too long ago. The motivation was less about huge files and more about configurable chunking to counteract the limitations of the stream cipher, although that's definitely a plus.
But I'll hopefully be able to get around to an implementation of it using noble for an entry in the readme. Will keep you posted 🙏🏽 thanks again for that quick release
from noble-ciphers.
@paulmillr not sure how esbuild didn't pick this up before, but _arx isn't set in the package exports...
The path "./_arx" is not exported by package "@noble/ciphers":
node_modules/@noble/ciphers/package.json:35:13:
35 │ "exports": {
╵ ^
You can mark the path "@noble/ciphers/_arx" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
Not sure you're too keen on exposing too much to the public api, seeing as though the file's marked as pseudo private with the _ prefix.
But on the other hand it would expose the internal createCipher method to enable more customised usage.
Or could just re-export from the utils export, maybe aliased to not cause confusion.
Either way is fine with me, but depends what you think is best.
If neither option is good it's fine I can just switch back to constant, seeing as though it literally is just a constant.. guess it was just a QOL improvement.
LMK your thoughts
from noble-ciphers.
«But on the other hand it would expose the internal createCipher method to enable more customised usage»
what’s the use case?
from noble-ciphers.
Related Issues (20)
- Understand what AAD api should look like
- Add more algorithms: ascon, aegis, eme, rijndael-256, aes-kw HOT 1
- Consider implementing Aegis HOT 1
- Consider adding EME
- Consider implementing Rijndael-256
- invalid tag error cannot be caught? HOT 5
- Utils functions for base64 conversion HOT 1
- Consider implementing AES-KW
- Cannot resolve webcrypto using typescript HOT 2
- `isPlainObject` returns `false` incorrectly HOT 3
- Downstream builds failing due to ambiguous import
- The standalone file `noble-ciphers.js` is no longer available HOT 6
- Decide on naming: chacha20poly1305 OR chacha20_poly1305 HOT 1
- ReferenceError: TextEncoder is not defined HOT 4
- AES-GCM integration with webcrypto brakes when optional param not sent
- SIV Doesnt work on Node, because of overwrite of slice Function in Node Buffer Impl HOT 2
- RangeError when decrypting chacha20poly1305: start offset of Uint32Array should be a multiple of 4 HOT 3
- Implement AES in pure JS HOT 2
- Provide a wrapper function that would prepend nonce to ciphertext
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 noble-ciphers.