File: decrypt.ps

package info (click to toggle)
gs 6.53-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 27,752 kB
  • ctags: 36,025
  • sloc: ansic: 255,138; sh: 6,990; cpp: 4,576; tcl: 1,814; asm: 968; lisp: 405; python: 405; makefile: 244; perl: 207; awk: 66
file content (13 lines) | stat: -rw-r--r-- 295 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
% Decrypt an eexec-encoded file.

(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