alienigma
👽 Specialized cipher machine developed to protect aliens from deciphering human communication. It uses Morse code with further obfuscation.
Installation
# NPM
npm install -g github:mareksuscak/alienigma
# Yarn
yarn global add https://github.com/mareksuscak/flatten-deep-js
How To Use
# Prints help
$ alienigma
$ alienigma help
# Ciphering a UTF-8 text from standard input
$ alienigma cipher
# Ciphering a UTF-8 text file (prints the ciphered message on standard output)
$ cat secret_message.txt | alienigma cipher
$ alienigma cipher < secret_message.txt
# Ciphering without obfuscation
$ alienigma --no-obfuscation cipher
# Writing the ciphered message to a text file
$ cat secret_message.txt | alienigma cipher > ciphered_message.txt
Running Tests
Interactive mode
// NPM
npm test -- --watch
// Yarn
yarn test -- --watch
Single run mode:
// NPM
npm test
// Yarn
yarn test
Known Issues
- Can't decode/deobfuscate messages at the moment
- No code coverage monitoring (Jest supports --coverage flag + junit reporter necessary)
- Missing end-to-end tests (nixt)
- Missing benchmarks (benchmark.js)
- No eslint checks
- Not using flow for static type checks
Contributing
See our Contribution Guidelines.
License
See the License.