Decrypting Shift Cypher

2939 days ago by munywoki

#(D) AS = AlphabeticStrings() SHC = ShiftCryptosystem(AS) R = IntegerModRing(26) 
       
ct=AS.encoding("ZILYPYLSNBIOMUHXBUWECHAUNNBYFYUPYMIZYPCFNBYLYCMIHYMNLCECHAUNNBYLIIN"); ct 
       
ZILYPYLSNBIOMUHXBUWECHAUNNBYFYUPYMIZYPCFNBYLYCMIHYMNLCECHAUNNBYLIIN
ZILYPYLSNBIOMUHXBUWECHAUNNBYFYUPYMIZYPCFNBYLYCMIHYMNLCECHAUNNBYLIIN
words=SHC.deciphering (20,ct);words 
       
FOREVERYTHOUSANDHACKINGATTHELEAVESOFEVILTHEREISONESTRIKINGATTHEROOT
FOREVERYTHOUSANDHACKINGATTHELEAVESOFEVILTHEREISONESTRIKINGATTHEROOT
#So the original plain text message was: "For every thousand hacking at the leaves of evil, there is one striking at the root" 
       
'For every thousand hacking at the leaves of evil, there is one striking
at the root'
'For every thousand hacking at the leaves of evil, there is one striking at the root'