Giter Site home page Giter Site logo

enigma's Introduction

Enigma

Table of contents

General info

This project uses Ruby to build a tool for encrypting and decrypting messages.

Self Assessment

Based on the rubric found at https://backend.turing.edu/module1/projects/enigma/rubric, my self assessment is that this project meets expectations in all categories.

Screenshots

enigma terminal screenshot

Learning Goals

  • Practice breaking a program into logical components
  • Build classes that demonstrate single responsibilities
  • Test drive a well-designed Object Oriented solution
  • Work with file i/o

Technologies

Project is created with:

  • Ruby version: 2.7.2

Setup

To run this program, save a copy of this repository locally. In the MacOS application 'Terminal,' navigate into the enigma directory. Then, run it using ruby (note: '$' is not typed).

  1. Clone the repo using the web url:
    $ git clone https://github.com/jamiejpace/enigma
    
    or with a password-protected SSH key:
    $ git clone [email protected]:jamiejpace/enigma.git
    
  2. Change into the directory:
    $ cd ../enigma
    
  3. Enter the message you would like to encrypt into the message.txt file, then run the encryption by entering the following into the terminal:
    $ ruby ./lib/encrypt.rb message.txt encrypted.txt
    
    
  4. You can then decrypt the message by entering the following into the terminal using the same key and date used in the initial encryption:
$  ruby ./lib/decrypt.rb encrypted.txt decrypted.txt <key> <date>

Contact

Created by

✨ feel free to contact me! ✨

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.