From c52623da0cf686946984006032952b7473ab99ca Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sat, 30 Mar 2019 21:01:46 +0100 Subject: [PATCH] version bump --- package.json | 2 +- src/index.ts | 22 +--------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index d97def2..9eab6f4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "occulto", - "version": "1.0.1", + "version": "1.0.2", "description": "crypt utility", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/src/index.ts b/src/index.ts index 656afd1..c220f82 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,25 +1,5 @@ -import AES from './AES' +import AES from './AES' import RSA from './RSA' -// -// (async () => { -// -// const text = `lorem ipsums` -// const key = `test` -// -// // Asymetric -// const pair = await RSA.gen() -// const ae = RSA.encrypt(text, pair.pub) -// console.log(ae) -// const ad = RSA.decrypt(ae, pair.prv) -// console.log(ad) -// -// // Symmetric -// const se = AES.encrypt(text, key, AES.Ciphers.AES_256_GCM) -// console.log(se) -// const sd = AES.decrypt(se, key) -// console.log(sd) -// -// })() export default { RSA,