asmcrypto / asmcrypto.js

JavaScript Cryptographic Library with performance in mind.
MIT License
659 stars 182 forks source link

Module - Module #134

Closed DesWurstes closed 6 years ago

DesWurstes commented 6 years ago

I need sha256, but 130 KB is too much. Is it possible to create one file that has things which are only required for sha256?

alippai commented 6 years ago

You can include the module (src/hash/sha256/exports.js) directly, however that way the file is not minified, so you need post processing.

You can fork the lib and modify the contents of the src/entry-defaults.js file, install the required npm modules and run the grunt command.

DesWurstes commented 6 years ago

Thank you