Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -0,0 +1,39 @@
adfgvx{
n⎕NS''
n.split{: (),}
n.enc{
t(.,'ADFGVX')[(=)¨]
w(()split t)[;]
1' ',¨w~¨' '
}
n.dec{
t2 split ((' ')[;])~' '
['ADFGVX'¨t]
}
n
}
adfgvx_test{
square6 6(⎕A,⎕D)[?36]
'Polybius square:'
' ─ADFGVX','│┼││││││','A D F G V X' '─'(111 0)\square
''
key{
file'e:\unixdict.txt'
dict(~data⎕TC)data⎕NGET file
dict({=}¨dict)/dict
dict({}¨dict)/dict
1⎕C dict[?dict]
}9
'Key: ',key
asquare adfgvx key
'Plaintext: ',plaintext'ATTACKAT1200AM'
'Encrypted: ',encrypteda.enc plaintext
'Decrypted: ',a.dec encrypted
}