Coder Social home page Coder Social logo

enigma's Introduction

Enigma

Welcome to Enigma! This program uses a command line interface to run a message through an encryption and decryption process.

How to:

To Encrypt

  • Enter the following into your command line ruby ./lib/encrypt.rb message.txt encrypted.txt
  • It should return the following Created 'encrypted.txt' with the key <5_digit_key> and date <DDMMYY>
  • View the created encrypted.txt file to see the encrypted message

To Decrypt

  • Enter the following into your command line ruby ./lib/decrypt.rb encrypted.txt decrypt.txt <5_digit_key> <DDMMYY>
  • It should return the following Created 'decrypted.txt' with the key <5_digit_key> and date <DDMMYY>
  • View the created decrypted.txt file to see the decrypted message.

Self-Assessment

Functionality

  • Meets expectations. Message can be encrypted and decrypted. CLI interface runs as well.

OOP

  • Meets expectations. Tried to go back and refactor some things to make things more readable. Everything is formatted and indented, I could have used some modules if I would have had some more time.

Ruby Conventions & Mechanics

  • Below expectations. I feel like I needed just a little more time to go back and refactor some methods in my enigma class to make them easier to understand. I have a lot of comments on the methods in there to make them easier to understand the chunks.

TDD

  • Meets expectations. I got a little ahead of myself in the beginning of the project and I was writing some methods before the tests. I corrected myself very quickly however. It became tough for me once I got to Enigma to fully understand what I was trying to test as well.

Version Control

  • 30+ commits, branching used throughout project

enigma's People

Contributors

jennerj avatar

Watchers

 avatar

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.