From 5141b041bd618e0339ce04f6abef56665d829b95 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Mon, 7 Oct 2013 13:31:44 +0100 Subject: [PATCH] Fixed whitespace typo --- cipher.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cipher.py b/cipher.py index 85de0a5..55d99b6 100644 --- a/cipher.py +++ b/cipher.py @@ -110,7 +110,6 @@ def caesar_decipher(message, shift): def caesar_break(message, metric=norms.euclidean_distance, target_frequencies=normalised_english_counts, message_frequency_scaling=norms.normalise): """Breaks a Caesar cipher using frequency analysis - >>> caesar_break('ibxcsyorsaqcheyklxivoexlevmrimwxsfiqevvmihrsasrxliwyrhecjsppsamrkwleppfmergefifvmhixscsymjcsyqeoixlm') (4, 0.3186395289018361) >>> caesar_break('jhzhuhfrqilqhgwrdevwudfwuhdvrqlqjwkhqkdylqjvxemhfwhgwrfulwlflvpwkhhasodqdwlrqrisrzhuwkdwmxulglfdovfl') -- 2.34.1