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.
-
Notifications
You must be signed in to change notification settings - Fork 0
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.
ConorRoberts/Automated_Caesar_Cipher
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published