Hi
I have written a text encryption / decryption system in J.
The input has to be a literal.
I test it using the following system:-
NB. Encrypt, Decrypt, Compare identical
a -: d=: dec e=:enc a=:1000000#'abcdefghij'
1
a -: d=: dec e=:enc a=: ": 1000000?@$?256
1
NB. BUT
a -: d=:dec e=:enc a=: ": 44{a.
0
$d
1
$a
Could someone tell me WHY and how to overcome this?
Thanks
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm