CSC110 Project 6: Build a Simple Caesar Cipher in Java πŸ“

Learn how to create a basic Caesar cipher in Java with this step-by-step review. Includes project overview, class implementation, constants setup, user input handling, and testing tips.

CSC110 Project 6: Build a Simple Caesar Cipher in Java πŸ“
Logic Lambda
214 views β€’ Nov 16, 2023
CSC110 Project 6: Build a Simple Caesar Cipher in Java πŸ“

About this video

0:12 - Project Description
1:52 - The Secrets class
2:19 - Creating some constants
2:39 - Prompting the user for a password using a Scanner
3:07 - Testing our code so far
3:27 - Adding up the integer (UNICODE) values of each character in a string using a loop, charAt(), & valueOf()
5:14 - A small refactoring removing the need for a variable
6:04 - Checking that the password is correct by comparing the hashes
6:57 - Reading a sentence to encrypt
7:30 - Testing the code and cleaning up Standard.in so that we read the sentence correctly
8:12 - Creating a simple Caesar cipher (shift each character by a constant amount) using a loop, valueOf(), & toString()
10:15 - Testing the code & fixing errors

Video Information

Views

214

Likes

2

Duration

11:55

Published

Nov 16, 2023

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.