/alienigma

👽 Specialized cipher machine developed to protect aliens from deciphering human communication

Primary LanguageJavaScriptMIT LicenseMIT

alienigma Build Status

👽 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

Contributing

See our Contribution Guidelines.

License

See the License.