Vigenère cipher/Cryptanalysis: Difference between revisions
Content added Content deleted
(Added Julia version) |
m (→{{header|Julia}}: replaced the deprecated "String" with "AbstractString") |
||
Line 667: | Line 667: | ||
'Q' => 0.095, |
'Q' => 0.095, |
||
'Z' => 0.074) |
'Z' => 0.074) |
||
const digraphs = Dict{ |
const digraphs = Dict{AbstractString, Float32}( |
||
"TH" => 15.2, |
"TH" => 15.2, |
||
"HE" => 12.8, |
"HE" => 12.8, |
||
Line 707: | Line 707: | ||
"LD" => 0.2, |
"LD" => 0.2, |
||
"UR" => 0.2) |
"UR" => 0.2) |
||
const trigraphs = Dict{ |
const trigraphs = Dict{AbstractString, Float32}( |
||
"THE" => 18.1, |
"THE" => 18.1, |
||
"AND" => 7.3, |
"AND" => 7.3, |