Closed tasn closed 5 years ago
Could you guys look into this?
Scrypt is not currently part of the bundle on npm. The idea was to keep sjcl as small as possible in the default configuration and with pbkdf2 there is already one key derivation function included.
Hey, @Nilos. With the advent of ES modules, Rollup, etc. tree shaking or dead code elimination is easier than ever before. Would you consider a PR that builds all of sjcl as ES modules (using the module
entry in package.json) so that folks can install from npm and let their bundlers do the work to minimize bundle size for dead code?
Hey,
As said in the title, the sjcl.js file is a bit outdated and doesn't include scrypt.js. Could you please regenerate that so it's available for people installing from node in the future?
Edit: it looks like just a regen doesn't include it, I guess something else is missing too, maybe it was not added to the build process?
Thanks, Tom.