Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for AMSCO Cipher by TovarischZhukov
# migrated from python 2.7
def decode_amsco(message, key):
a=message[:];tmp=[];i=0;key=str(key)
dtmp={};r="";k=0
while a:
if i==len(key): i=0
if i==0: tmp.append([])
j=2**((len(tmp)-1+i)%2)
tmp[-1].append(a[:j])
a=a[j:]
i+=1
for i, v in enumerate(key):
dtmp[repr(i+1)]=[]
for j in range(len(tmp)):
p=key.find(repr(i+1))
if p
Jan. 3, 2016