diff options
Diffstat (limited to 'gs/lib/decrypt.ps')
-rw-r--r-- | gs/lib/decrypt.ps | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gs/lib/decrypt.ps b/gs/lib/decrypt.ps new file mode 100644 index 000000000..9cc8b2f17 --- /dev/null +++ b/gs/lib/decrypt.ps @@ -0,0 +1,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 |