Encrypt / Decrypt in pure client-side JavaScript
- Uses AES-256-CBC with sha256 HMAC
- Salt generation using PBKDF2 with 32 byte key length
- Data always stays in the browser (never sent anywhere)
- Open Source MIT License
# upgrade node version >= 6.2.2
$ npm i -g npm
$ npm i -g n
$ sudo n 6.2.2
# browserify crypto file
$ npm i -g browserify
$ browserify cry.js -o X.js
# compile elm packages
$ npm i -g elm
$ elm-package install
$ elm-make Main.elm --output elm.js
# pull in bower dependencies
$ npm i -g bower
$ bower install
# any static server will work
$ npm i -g lite-server
$ lite-server
The MIT License (MIT)