Find Jobs
Hire Freelancers

Cracking a Cipher

$10-30 USD

Fullført
Lagt ut over 7 år siden

$10-30 USD

Betalt ved levering
CRACKING A CIPHER (30 points) Choose a substitution cipher and call it CIPHER. Write a C program that implements your CIPHER. Write a C program CRACKER that uses the letter frequency count method to decrypt the ciphertext generated by your CIPHER. CRACKER should take as input a ciphertext ctext generated by CIPHER and return a "decrypted" form of ctext. The decryption is not expected to be perfect! You may hard code your input plaintext or read it from a file. Your CIPHER and CRACKER should not remove blanks, capitalizations, and punctuation marks! You do not have to encrypt digits. A table containing the relative frequencies of English letters can be found at [login to view URL]~mec/2003-2004/cryptography/subs/frequencies.html. (10 points- Written) Answer the following questions: (Q1) (3 points) What is the key for your cipher? (Q2) (4 points) Was your cracker able to recover all of the plaintext with no errors? Why or why not? (Q3) (3 points) Suggest a way of modifying the basic letter frequency count attack to make the output of cracker more similar to the original plaintext. (5 points) Compilable source code for CIPHER (name your source file to indicate which compiler/version you used). The code must compile with no errors in order to receive credit for this question. CIPHER must implement the functionality of a substitution cipher as described in Stamp (Shift the English alphabet by n, or use any permutation of the alphabet as your symmetric key). (5 points) Compilable source code for CRACKER (indicate which compiler/version you used). The code must compile with no errors in order to receive credit for this question. CRACKER must implement the functionality of a letter-frequency count cracker as described in Stamp. (2 points) A text file [login to view URL] containing the plaintext you chose to encrypt (2 points) A text file [login to view URL] containing the ciphertext generated by CIPHER (2 points) A text file [login to view URL] containing the plaintext generated by CRACKER on input the ciphertext (2 point) A screen snapshot of a sample run of CIPHER and a screen snapshot of a sample run of CRACKER. (2 points) Modify your plaintext and/or the implementation of your basic letter frequency count cracker to help CRACKER generate an output that is closer to your plaintext. Were you able to improve the cracking capabilities of your cracker?
Prosjekt-ID: 11465196

Om prosjektet

1 forslag
Eksternt prosjekt
Aktiv 8 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
Tildelt til:
Brukeravatar
Hi there, I went through the requirements and I would like to do this project if given the opportunity. Let me know if you are interested. Thanks.
$30 USD om 1 dag
4,9 (432 omtaler)
6,7
6,7

Om klienten

UNITED STATESs flagg
Cumming, United States
5,0
5
Betalingsmetode bekreftet
Medlem siden sep. 7, 2016

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.