ADFGVX cipher: Difference between revisions

Line 38:
s ‘’= :adfgvx[r]‘’:adfgvx[c]
 
V cols = DefaultDict[Char, String]() cols
L(ch) s
cols[key[iL.index % key.len]] ‘’= ch
V i = L.index
cols[key[i % key.len]] ‘’= ch
 
V result = ‘’
Line 82 ⟶ 81:
print(‘---------------’)
L(row) polybius
print(adfgvx[iL.index]‘ | ’row.join(‘ ’))
V i = L.index
print(adfgvx[i]‘ | ’row.join(‘ ’))
 
V words = File(‘unixdict.txt’).read().split("\n").filter(w -> w.len == 9 & w.len == Set(Array(w)).len)
1,480

edits