https://github.com/kessler/kryptonite
https://github.com/kessler/kryptonite
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kessler/kryptonite
- Owner: kessler
- License: mit
- Created: 2015-08-18T00:34:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-18T01:14:46.000Z (over 9 years ago)
- Last Synced: 2025-03-08T08:12:42.604Z (about 2 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kryptonite
A personal cli tool for encryption/decryption
rc config defaults to "kryptonite", but can be overridden using the first paramter before the command (without --), e.g
```
kryptonite myapp encrypt
```## tools
### kryptonite generateKey
generate a key file that will be used for decrypt / hmac / encrypt tools```json
{
"key": "[base64 encoded key]",
"hmacKey": "[base64 encoded hmac key]",
"iv": "[base64 encoded iv]",
}
```### kryptonite encrypt
encrypt something, using default/named config
```
echo '123' | kryptonite encrypt
```or
```
echo '123' | kryptonite encrypt --file=encrypted.out
```### kryptonite hmac
create a sha1 signature of something using default / named config```
echo '123' | kryptonite hmac
```### kryptonite decrypt