array-based sequences class caesarcipher """class for doing encryption and decryption using caesar cipher "" def init (selfshift) """construct caesar cipher using given integer shift for rotation ""temp array for encryption encoder [none temp array for decryption decoder [none for in range( ) encoder[kchr(( shift orda ) decoder[kchr(( shift orda )will store as string self forward join(encodersince fixed self backward join(decoder def encrypt(selfmessage) """return string representing encripted message "" return self transform(messageself forward def decrypt(selfsecret) """return decrypted message given encrypted secret "" return self transform(secretself backward def transform(selforiginalcode) """utility to perform transformation based on given code string "" msg list(original for in range(len(msg)) if msg[kisupper)index from to ord(msg[ ]orda msg[kcode[jreplace this character return join(msg if name =__main__ cipher caesarcipher( message "the eagle is in playmeet at joe coded cipher encrypt(message printsecretcoded answer cipher decrypt(coded printmessageanswercode fragment complete python class for the caesar cipher