version bump

This commit is contained in:
cupcakearmy 2019-03-30 21:01:46 +01:00
parent bb913e30fb
commit c52623da0c
2 changed files with 2 additions and 22 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "occulto", "name": "occulto",
"version": "1.0.1", "version": "1.0.2",
"description": "crypt utility", "description": "crypt utility",
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",

View File

@ -1,25 +1,5 @@
import AES from './AES' import AES from './AES'
import RSA from './RSA' 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 { export default {
RSA, RSA,