The Haskell code for the post "The Mathematics of Secret Sharing"