summaryrefslogtreecommitdiffstats
path: root/src/data.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2015-03-15 17:16:48 -0400
committerJesse Luehrs <doy@tozt.net>2015-03-15 17:16:48 -0400
commit1ab52467c0fff82317b1b879274eaf8313e12174 (patch)
tree0be639d4e1aa30ea5479d301fa77b29605611de9 /src/data.rs
parent802eed2e3c699e0b63d6e69a5be7058135060f17 (diff)
downloadmatasano-1ab52467c0fff82317b1b879274eaf8313e12174.tar.gz
matasano-1ab52467c0fff82317b1b879274eaf8313e12174.zip
split things up a bit
Diffstat (limited to 'src/data.rs')
-rw-r--r--src/data.rs28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/data.rs b/src/data.rs
new file mode 100644
index 0000000..6fb0272
--- /dev/null
+++ b/src/data.rs
@@ -0,0 +1,28 @@
+pub const ENGLISH_FREQUENCIES: [f64; 26] = [
+ 0.0804,
+ 0.0148,
+ 0.0334,
+ 0.0382,
+ 0.1249,
+ 0.0240,
+ 0.0187,
+ 0.0505,
+ 0.0757,
+ 0.0016,
+ 0.0054,
+ 0.0407,
+ 0.0251,
+ 0.0723,
+ 0.0764,
+ 0.0214,
+ 0.0012,
+ 0.0628,
+ 0.0651,
+ 0.0928,
+ 0.0273,
+ 0.0105,
+ 0.0168,
+ 0.0023,
+ 0.0166,
+ 0.0009,
+];