Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Coding with pyton please. rev_key = {'a':'', 'b':'', 'c':''} #incomplete key; fill it with your findings def decipher(a_string): here goes code to decipher the text

Coding with pyton please.

image text in transcribed

rev_key = {'a':'', 'b':'', 'c':''} #incomplete key; fill it with your findings

def decipher(a_string): """here goes code to decipher the text""" global rev_key decrypt = "" return decrypt

def get_text1_freq_dict(): d = {} #returns a dictionary containing the frequencies in the format #X.XXX (e.g., 0.011 or 0.129) for the letters. A sample entry # would be freq = {'a':0.011} return d def get_text2_freq_dict(): d = {} #returns a dictionary containing the frequencies in the format #X.XXX (e.g., 0.011 or 0.129) for the letters. A sample entry # would be freq = {'a':0.011} return d

## please included below any other functions that you ## implemented to solve the challenge; furthermore ## please write a paragraph on how you approached ## the problem.

You receive an encrypted text (Blackboard) which was encrypted using a substitution cipher. Can you find the key? Tip: Google Letter frequency and remember (reuse) what you have implemented for the assignment 3. For instance, there is only a certain amount of 1, 2 or 3 letter words where some are very common. Note, the text does not contain upper cases letters. Note2, special characters, numbers, etc are simply ignored. Note3, use your previous findings and not findings you find online! Lica You receive an encrypted text (Blackboard) which was encrypted using a substitution cipher. Can you find the key? Tip: Google Letter frequency and remember (reuse) what you have implemented for the assignment 3. For instance, there is only a certain amount of 1, 2 or 3 letter words where some are very common. Note, the text does not contain upper cases letters. Note2, special characters, numbers, etc are simply ignored. Note3, use your previous findings and not findings you find online! Lica

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

=+2 Why did OBI create Centers of Excellence?

Answered: 1 week ago