3.0.1 • Published 2 years ago

cosmian_js_lib v3.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Cosmian Javascript Lib

The library provides a Typescript friendly API to the Cloudproof Encryption product of the Cosmian Ubiquitous Encryption platform.

Getting started

Please check the online documentation for details on using the CloudProof APIs.

In addition, please have a look at the following tests for implementation examples:

  • TestCoverCrypt for using the CoverCrypt scheme with WASM library
  • TestGpsw for using the ABE GPSW scheme with WASM library
  • TestFindex for using the SSE Findex scheme with WASM library

Using in Javascript projects

This library is free software and is available on NPM public repository.

npm i cosmian_js_lib

Versions Correspondence

Local encryption and decryption with GPSW or CoverCrypt and SSE Findex Cosmian scheme use WASM librairies which are transparent for Javascript/Typescript usage.

This table shows the minimum versions correspondence between the various components.

KMS ServerJavascript LibGPSW libCoverCrypt libFindex
2.2.01.0.62.0.16.0.10.5.0

npm version

{ cosmian_js_lib: '2.0.0', npm: '6.14.17', ares: '1.18.1', brotli: '1.0.9', cldr: '40.0', icu: '70.1', llhttp: '2.1.4', modules: '83', napi: '8', nghttp2: '1.42.0', node: '14.19.2', openssl: '1.1.1n', tz: '2021a3', unicode: '14.0', uv: '1.42.0', v8: '8.4.371.23-node.87', zlib: '1.2.11' }