Cambridge Blockchain is excited to announce the release of an open source project, crypto-lib. Crypto-lib runs in the browser and encrypts provided symmetric keys with internal session asymmetric keys using HMAC_SHA384 as its hashing function. This powerful functionality allows for encryption/decryption of data and computation of attestations in the blockchain.
To ensure that crypto-lib is browser-agnostic, it uses a standardized webcrypto library included in all browsers. For users working on Angular projects, an encapsulation of crypto-lib called ngx-crypto library is also available as an Angular service.
Both MIT-licensed libraries are available as npm packages and the source code is hosted on Github. To view the source code on GitHub or the npm package for either crypto-lib or ngx-crypto library, check out the following links: