Jump to content

Playfair cipher: Difference between revisions

m
J: avoid using same name for two different constructs
m (J: avoid using same name for two different constructs)
Line 238:
setkey=:3 :0
key=. ~.norm y,alph
pairsall=. ,/2{."1 ~."1 (,"0/~alph),"1 norm 'XQV'
mode=. #.=/"2 inds=.5 5#:key i.pairsall
inds0=. (0 3,:2 1)&{@,"2 inds
inds1=.5|1 0+"1 inds NB. same column
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.