https://github.com/justin-bento/ruby-caesar-cipher
This repository contains solutions and exercises for the Basic Ruby Projects module in the Full Stack Ruby on Rails course from The Odin Project.
https://github.com/justin-bento/ruby-caesar-cipher
ruby the-odin-project
Last synced: about 1 year ago
JSON representation
This repository contains solutions and exercises for the Basic Ruby Projects module in the Full Stack Ruby on Rails course from The Odin Project.
- Host: GitHub
- URL: https://github.com/justin-bento/ruby-caesar-cipher
- Owner: Justin-Bento
- Created: 2025-06-29T03:38:33.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-30T16:47:13.000Z (about 1 year ago)
- Last Synced: 2025-06-30T16:49:00.319Z (about 1 year ago)
- Topics: ruby, the-odin-project
- Language: Ruby
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project – Caesar Cipher
This repository contains the very first project in the first module of the Basic Ruby Projects curriculum. The project is based on Caesar's Cipher encryption, a classic technique in cryptography. It works by substituting each letter in a text file with another letter a fixed number of positions down the alphabet
- **Institution:** [The Odin Project](https://www.theodinproject.com)
- **Course:** Full Stack Ruby on Rails
- **Module:** Basic Ruby Projects
- **Author:** Justin Bento
- **Date Started:** 2025-06-29
## Project Goals
The goal of this project is to implement a Caesar cipher that takes in a string and a shift factor, and then outputs the modified string using a right shift.
## Features to Implement
- [ ] Create your own method called caesar_cipher.
- [ ] Apply two paramaters called message, and shifter.
- [ ] The first method 'message' returns a string outpt.
- [ ] The second method 'shifter' returns a number outpt.
- [ ] Ensure the text and the message output both at the same time.
- [ ] Keep the text output the same casing.
## Example Usage
Here is an example of Caesar Cipher encryption in practice:
```ruby
caesar_cipher("What a string!", 5)
→ "Bmfy f xywnsl!"
```