Skip to content

Quickly thrown together java implementation of the Affine Cipher

Notifications You must be signed in to change notification settings

jkchapman/FCC_Affine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

FCC_Affine

A simple, extremely quickly thrown together implementation of the Affine Cipher in Java.
Required for Fundamental Concepts of Cryptography, a second year CyberSecurity unit at Curtin.

Usage

Tested with Java version "1.7.0_75"

Compile with:

javac AffineCipher.java

Run as:

java AffineCipher [E/D] [INPUT] [OUTPUT]

where E/D = encrypt or decrypt, INPUT = the path to the input file, and OUTPUT = the path to the new output file.

Notes

This implementation is only operating on the English alphabet so alphabet size M = 26, with case being preserved (in a rather quick and messy way). Only using M of 26 instead of the whole of ascii (so M = 256) because that is what the assingment spec wished for.

About

Quickly thrown together java implementation of the Affine Cipher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages