diff options
author | Taru Karttunen <taruti@taruti.net> | 2011-03-30 16:53:33 +0300 |
---|---|---|
committer | Taru Karttunen <taruti@taruti.net> | 2011-03-30 16:53:33 +0300 |
commit | e463eb40363ff4c68b1d903f4e0cdd0ac1c5977f (patch) | |
tree | d5e9f57c28f026cb21de3bd77cc10cd7f64aaa85 /sys/lib/ghostscript/decrypt.ps | |
parent | b41b9034225ab3e49980d9de55c141011b6383b0 (diff) |
Import sources from 2011-03-30 iso image - sys/lib
Diffstat (limited to 'sys/lib/ghostscript/decrypt.ps')
-rwxr-xr-x | sys/lib/ghostscript/decrypt.ps | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/lib/ghostscript/decrypt.ps b/sys/lib/ghostscript/decrypt.ps new file mode 100755 index 000000000..361b2f26e --- /dev/null +++ b/sys/lib/ghostscript/decrypt.ps @@ -0,0 +1,15 @@ +%! +% Decrypt an eexec-encoded file. +% $Id: decrypt.ps,v 1.6 2002/02/21 21:49:28 giles Exp $ + +(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 |