New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cloudproof_js

Package Overview
Dependencies
Maintainers
0
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudproof_js

Cosmian Cloudproof javascript client library

latest
npmnpm
Version
10.0.1
Version published
Maintainers
0
Created
Source

Cloudproof Javascript Library

Build status

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

Licensing

The library is available under a dual licensing scheme Affero GPL/v3 and commercial. See LICENSE.md for details.

Cryptographic primitives

The library is based on:

  • CoverCrypt algorithm which allows creating ciphertexts for a set of attributes and issuing user keys with access policies over these attributes. CoverCrypt offers Post-Quantum resistance.

  • Findex which is a cryptographic protocol designed to securely make search queries on an untrusted cloud server. Thanks to its encrypted indexes, large databases can securely be outsourced without compromising usability.

  • FPE provides Format Preserving Encryption (FPE) techniques for use in a zero-trust environment. These techniques are based on FPE-FF1 which is described in NIST:800-38G.

  • Anonymization: Data anonymization is the process of transforming data in such a way that it can no longer be used to identify individuals without the use of additional information. This is often done to protect the privacy of individuals whose data is being collected or processed.

Getting started

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

You can also look the examples directory for examples with multiple JS frameworks/technologies (the README of the examples folder can guide you to the best example for you use case).

Using in Javascript projects

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

As a pre-requisite, the WASM binaries required for Findex and CoverCrypt must be fetched (or be manually copied from https://package.cosmian.com into src/pkg directory):

python3 scripts/download_wasm.py

And next:

npm i cloudproof_js

(version before 3.1.0 were called cosmian_js_lib)

Versions Correspondence

CoverCrypt and SSE Findex scheme are wrapped in WebAssembly libraries (WASM) in cloudproof_rust.

cloudproof_jsCloudproof Rust libKMS Server
8.0.01.0.04.2.0
8.1.01.1.04.3.0
9.0.02.0.14.3.0
9.1.0,9.1.12.1.04.3.0
9.2.02.2.14.5.0
9.3.02.2.34.6.0
9.4.0,9.4.12.2.44.7.0
9.5.02.3.04.9.0
9.5.12.3.04.9.1
9.6.02.4.04.10.0
9.7.02.4.04.11.3
10.0.03.0.04.13.0
10.0.13.0.04.19.3

Renew Auth0 access token

Refer to repository https://github.com/Cosmian/kms-ci-token

FAQs

Package last updated on 20 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts