例如明文为:endalen is bordered on the northwest by the municipalities of Alvdal and Tynset
1 选取密钥,比如sample
2 sample按照字母排列顺序定值,字母表排列在前的值小,如有相同字母,按左边的为小。
sample定值顺序为614532
3 按密钥长度写明文为如下(去掉空格),如不够长,随便添点数据:
endale
nisbor
deredo
ntheno
rthwes
tbythe
munici
paliti
esofAl
vdalan
dTynse
tabcde
4 按614532顺序按列读上边的矩形,得到密文:niettbuasdTerooseiilnelodnehctAasdsrhhynloayabeewtiiflnendnrtmpevdt
5 解密按反顺序填写矩形就可以了。