Python script to do smearing/unsmearing crypthography