Skip to content

Project made in CIS2500. 3 separate, but related, programs. frequency_table.c: Outputs letter frequencies in given text. copyrecords.c: Copies binary records containing encrypted text and decodes using Caesar cipher. decode.c: Reads in encrypted text and automatically decodes using caesar cipher.

Notifications You must be signed in to change notification settings

ConorRoberts/Automated_Caesar_Cipher

Repository files navigation

Q1: Reads given text and prints letter frequencies along with character/letter count. Usage "./frequency_table {-F file.txt} ". Q2: Expands on Q1 by attempting to decode an encoded message using the provided chi_sq formula. Q3: Takes in binary records and decodes the string portions. To reverse the records, I started reading the binary data from the end of the file instead of the start. SEEK_END in fseek() does this very easily. From there I incremented the pointer by -sizeof(struct record) to step backwards from the end until the beginning of the data was reached.

About

Project made in CIS2500. 3 separate, but related, programs. frequency_table.c: Outputs letter frequencies in given text. copyrecords.c: Copies binary records containing encrypted text and decodes using Caesar cipher. decode.c: Reads in encrypted text and automatically decodes using caesar cipher.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published