@fizz.js/node-openssl
v1.0.0
Published
node-openssl
Downloads
2
Readme
@fizz.js/node-openssl
This is an openssl library for express.
install
add dependencies
into package.json
and run yarn install
configure
1. please put salt
and iv
into your .env
file.
OPENSSL_SALT="SOMETHING-LIKE-SECURE!!"
OPENSSL_IV="SOMETHING-LIKE-SECURE!!"
2. please put openssl
config into config/${env}.json
"openssl": {
"algorithm": "aes-256-cbc",
"encoding": "utf8",
"digest": "base64"
}
test
yarn test
coverage
yarn cover
build
yarn build
docs
yarn docs