Lab 6: Caesar Cipher

Web-CAT: Submit Java programs to this automated grading platform.

Task Outline

Background Theory

Encryption shift

Hints

c = (p + \mbox{key})\, \mbox{mod}\, 26
String alphabet = "abcdefghijklmnopqrstuvwxyz";

Code Distribution

Description File Size File Name
Java Source Code for Caesar Cipher 5.6KB lab06.zip

Contents of lab06.zip:

Lab06CaesarCipher/
├── CaesarCipher.class
├── CaesarCipher.ctxt
├── CaesarCipher.java
├── CaesarCipherJUnitTest.class
├── CaesarCipherJUnitTest.ctxt
├── CaesarCipherJUnitTest.java
├── package.bluej
└── README.TXT

Specification

Testing

Submission