Crack a Substitution Cipher with Gibbs Sampling 🔍

Learn how to decode a simple substitution cipher using Gibbs sampling in this step-by-step guide. Perfect for enthusiasts interested in cryptography and data science!

Crack a Substitution Cipher with Gibbs Sampling 🔍
Miikka Silfverberg
111 views • May 9, 2018
Crack a Substitution Cipher with Gibbs Sampling 🔍

About this video

I wrote a program that runs Gibbs sampling to decode an encrypted message. The message is crypted using a simple substitution cipher.

The program randomly tries different keys and incrementally constructs keys that maximize the score of the decoded message according to a trigram language model. The number indicates how many ciphers have been tried thus far.

The message of course is an excerpt from The ones who walk away from Omelas by Ursula K. Leguin.

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

111

Likes

2

Duration

0:46

Published

May 9, 2018

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.