<commit_before>---
published: true
title: Substitution Cipher
tags: crypto security math
---
> Cryptography folklore has it that simple substitution ciphers are trivial to break by looking at the letter frequencies of the encrypted text. - [Verifying the Substitution Cipher Folklore](https://www.spinellis.gr/blog/20160318/)

- [the cryptopals crypto challenges](https://cryptopals.com/sets/1/challenges/6)<commit_msg>Update 2022-08-09-crypto-subsitution.md<commit_after>---
published: true
title: Substitution Cipher
tags: crypto security math
---
> Cryptography folklore has it that simple substitution ciphers are trivial to break by looking at the letter frequencies of the encrypted text. - [Verifying the Substitution Cipher Folklore](https://www.spinellis.gr/blog/20160318/)

- [the cryptopals crypto challenges](https://cryptopals.com/sets/1/challenges/6)
- [Breaking homegrown crypto](https://kivikakk.ee/cryptography/2016/02/20/breaking-homegrown-crypto/)
{'fraction_non_alphanumeric': 0.10559006211180125, 'fraction_numerical': 0.037267080745341616, 'mean_word_length': 5.081761006289308, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 5, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5987036', 'n_tokens_mistral': 319, 'n_tokens_neox': 277, 'n_words': 85}