gqhashrun
v0.0.3
Published
A small utility for running .hash scripts.
Readme
gqhashrun
.__ .__
____ _____| |__ _____ _____| |_________ __ __ ____
/ ___\ / ____/ | \\__ \ / ___/ | \_ __ \ | \/ \
/ /_/ >< <_| | Y \/ __ \_\___ \| Y \ | \/ | / | \
\___ / \__ |___| (____ /____ >___| /__| |____/|___| /
/_____/ |__| \/ \/ \/ \/ \/- A small utility for running .hash scripts.
Description
- it utilizes blowfish for encrypting a script to .hash file. Then it allow directly run this .hash script without precompile.
Getting Started
Dependencies
"dependencies": {
"blowfish-node":"",
"coffeescript": "2.7.0"
},
"devDependencies": {
"cross-env": "",
"gqtest": ">=0.0.17",
"nodemon": "3.1.10"
}Installing
- npm install
Executing program
To generate .hash script, run:
node lib2.js encryptfile filename.js [secret] >> output.hash
To run .hash script, run:
node run.js output.hash [secret]
Note: secret is optional
it looks for masterKey instead if missing secret. Or use "secret" as a final fallback.- see test.coffee for usage scenario.
Authors
Contributors names and contact info
- glidev5
Version History
- 0.1
- Initial Release
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- this script use blowfish-node for backward compatible
- coffeescript is natively supported by this running environment
