summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlgs/lib/decrypt.ps
blob: b172f6d83b4619d8edaebbef0467f1021e82a93b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%!
% Decrypt an eexec-encoded file.
% $Id: decrypt.ps 6300 2005-12-28 19:56:24Z giles $

(t.in) (r) file /in exch def
(t.out) (w) file /out exch def
256 string /buf exch def
55665		% eexec encryption seed
 { in buf readhexstring /more exch def
   dup .type1decrypt out exch writestring
   more not { exit } if
 } loop
in closefile
out closefile
quit