@eluvio/crypto

1.1.2 • Public • Published

elv-crypto

ES6 JavaScript library of crypto functionality for the Eluvio content platform. High-performance is achieved through use of WebAssembly.

Build

npm builds: https://www.npmjs.com/package/@eluvio/crypto

We provide bundles for convenience in the "dist" directory. However, developers should link directly against "src" when using their own packagers.

Examples

Look inside the "scripts" and "test" directories.

Test

Unit Tests

npm run test

Build Test

Navigate a browser to test/testLoadBuild.html after starting a local HTTP server:

http-server -p 80 --cors .

Load in Node.js:

node test/testLoadBuild.cjs

TODO

  • Maybe now Web APIs could replace our use of Node streams and crypto
  • Test memory model
    • If return values persist or not as expected
    • If long term memory usage is stable
  • Performance tests

Package Sidebar

Install

npm i @eluvio/crypto

Weekly Downloads

453

Version

1.1.2

License

MIT

Unpacked Size

1.23 MB

Total Files

28

Last publish

Collaborators

  • elv-zenia
  • elv-michael
  • elv-peter
  • john.heaton
  • elv-kevin