This is a study follow up on the creation of a Ceasar's Cipher program.
Love this progress? Buy me a coffee...
The Ceasar Cipher program takes a string of text and returns a new string with each of it's individual letters shifted into a new letter according to the shift difference stated.
for instance
ceasar_cipher("(Top), 30", 5) output = "(Ytu), 30"
ceasar_cipher("Daniel's car", 7) output = "khupl's jhy"
ceasar_cipher("Ceasar's Cipher.") output = "Fhdvdu'v Flskhu."
Want to contribute? Great!
To fix a bug or enhance an existing module, follow these steps:
-
Fork the repository
https://github.com/keithowino/top-ceaser-cipher/fork
-
Create a new branch
git checkout -b improve-feature
-
Make the appropriate changes in the files
-
Add changes to reflect the changes made
-
Commit your changes
git commit -am 'Improve feature'
-
Push to the branch
git push origin improve-feature
-
Create a Pull Request
-
To clone this repository to your machine do this in the root directory of where you would like to save the project. Before using this be sure which url link you should use, is it for HTTP or shh.
git clone https://github.com/freestyletear/top-ceaser-cipher.git
-
Open the repository.
cd top-ceaser-cipher
-
After this in order to execute the program, you need to enter
ruby ./scripts/main.rb
on a Git terminal, after which the program executes the "POTUS" protocol.
- Steady Network.
- Weblink
- Github account.
- If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here > (https://github.com/freestyletear/top-ceaser-cipher/issues/new).