qwebs-crypto
v0.2.18
Published
Cryptographic service for Qwebs server
Downloads
11
Maintainers
Readme
qwebs-crypto
Cryptographic service for Qwebs server.
Features
- encrypt(source, password)
- decrypt(source, password)
Declare and inject $crypto
Via routes.json
{
"services": [
{ "name": "$crypto", "location": "qwebs-crypto" }
]
}
Or in javascript
const Qwebs = require("qwebs");
const qwebs = new Qwebs();
qwebs.inject("$crypto" ,"qwebs-crypto");
Installation
$ npm install qwebs-crypto