[geek] Tiny crypto strikes again

Date view Thread view Subject view Author view

From: Jesse (jesse@fsck.com)
Date: Mon Jan 15 2001 - 13:18:27 PST

[ source by Charles M. Hannum ]

I call this program `efdtt'. It may or may not decrypt certain MPEG
system streams which may or may not be found on certain types of media
which may or may not be available for purchase in numerous stores that
may or may not have sold antiquated tape-based media in the past.

Usage is:

  cat key input.vob | efdtt >output.vob

Shar and enjoy. If you redistribute this, please credit me somewhere.
If you're interested in making T-shirts, please contact me. B-)

#include <unistd.h>
#define K(i) (k[i]^s[i+84])
u_int r(u_int);int main(){u_char*x="\331\231\321\0I\tA\220&\6\202\0$\4\200\2",y
=0,z,t[256],k[5],s[2048];do z=x[y&7]^x[y>>4|8]^(y/8&17)*11&161,t[y]=z^(z&z*2&34
)*6;while(++y);read(0,k,5);while(read(0,s,2048)){if(s[20]&48){u_int a=r(K(1)<<9

jesse reed vincent -- root@eruditorum.org -- jesse@fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

autoconf is your friend until it mysteriously stops working, at which point it is a snarling wolverine attached to your genitals by its teeth (that said, it's better than most of the alternatives) -- Nathan Mehl

Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 13:23:18 PST