ciam-encrypt
v1.0.6
Published
```bash for applications that will be using via npm run this command on you front end application if you are having npm npm install git://github.com/visionmedia/express.git ```
Downloads
3
Readme
mmp-api
Installation.
Getting Started
for applications that will be using via npm
run this command on you front end application if you are having npm
npm install git://github.com/visionmedia/express.git
for the creator, how to build this project
run this command
npm run-script build
how to use
import { AesUtil } from "ciam-encrypt";
var aesUtil = new AesUtil(rsaPublicKey);
var encryptedObject = aesUtil.encrypt(data);
//note that encryptedObject have variables
// iv
// salt
// key- encrypted key via rsa public key
// ciphertext - encrypted text using aes
this.sendData(encryptedObject.iv, encryptedObject.salt, encryptedObject.key, encryptedObject.ciphertext)
todo
make this automated and installed on npm repo or what.