Skip to content

A toy model illustrating information-theoretic privacy

Notifications You must be signed in to change notification settings

ruescasd/shannon1949

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

alt text

Shannon1949

This is a toy model of the basic ideas present in Claude Shannon's seminal Communication Theory of Secrecy Systems published in 1949.

How it works

Adjust the slider bars for message size (n), language entropy (Hl) and key space size (|K|), then press go. The code will generate messages, keys and ciphertexts and calculate some theoretical and statistical quantities. A plot of ciphertexts against messages shows how the three input parameters influence the information-theoretic secrecy properties of the cryptosystem.

Note that setting large values for the three parameters results in larger plaintext, ciphertext and key space, meaning more data to analyze. It may take some time.

About

A toy model illustrating information-theoretic privacy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages