CryptoIdentity.js
A library for simple crypto identity in the browser
Cryptography As Identity
This library was created to let entities talk with each other securely using RSA cryptography under the covers. It really only does four things, but they are powerful
- Generate a cryptographic identity
- Create a safe cryptographic identity that can be given to other people to represent you
- Let public communicate with you securely with the safe identity
- Verify messages come from you with your safe identity
With these simple methods, you can start talking with other people to setup conversations between crypto identities
- Jane signs a message to the public along with her safe identity!
- Bob verifies Jane as the source of message using her safe identity
- Bob encrypts his safe identity and sends to Jane
- Jane encypts a message using Bob's safe identity and sends to him
Jane and Bob can now talk encrypted back and forth with each other
Example
//Task 1: Create a crypto identity for youCryptoIdentity
Install
npm install cryptoidentity
<script src="https://cdn.rawgit.com/richardanaya/cryptoidentity/master/cryptoidentity.min.js"></script>