Skip to content

Instantly share code, notes, and snippets.

@jon1scr
jon1scr / decoder
Last active January 26, 2021 10:40
import sys, numpy as np
def cipher_encryption():
msg = input('Enter message: ').upper()
msg = msg.replace(' ', '')
len_chk = 0
if len(msg) % 2 != 0:
msg += '0'
len_chk = 1
row = 2