-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f1df70
commit 8b340b1
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Problem 4 - Decrypt a Story | ||
|
||
# Now that you have all the pieces to the puzzle, please use them to decode the file story.txt. | ||
# The file ps6.py contains a helper function get_story_string() that returns the encrypted version of the story as a string. | ||
# Create a CiphertextMessage object using the story string and use decrypt_message to return the appropriate shift value and unencrypted story string. | ||
|
||
|
||
def decrypt_story(): | ||
encryptedStory = CiphertextMessage(get_story_string()) | ||
return encryptedStory.decrypt_message() | ||
|