~/talk

Solving very simple substitution ciphers algorithmically

Talkat PyData Berlin 2018 · 2018-07-06..07-08· [security, machine-learning]
links:none on file
slides:none on file

Claims an algorithm that recovers monoalphabetic substitution keys when the language is known and spaces are preserved, encoding text as a bigram frequency matrix and searching permutation space by random transposition moves. Notes 26! ≈ 4×10^26 permutations would take ~13 trillion years at a million checks per second, so the method uses swap-based local proposals and a likelihood product over bigram counts as the objective. Implements a NumPy prototype with ASCII heatmap visualization, and reports it succeeds roughly three out of five runs.

AI-written summary · about

  1. 0:00Substitution ciphers intro
  2. 3:57Encryption decryption defined
  3. 7:28Permutations in decryption
  4. 15:18N-grams as language fingerprints
  5. 24:11Naive algorithm limits
  6. 28:45Permutations to transpositions
  7. 33:00ML objective function
  8. 39:25Live decryption demo
  9. 40:53Q&A on ciphers
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.