[Previous entry: "7 lines of perl to decode DVD"] [Main Index] [Next entry: "Getting Started with XML-RPC in Perl"]

03/07/2001 Archived Entry: "Gallery of CSS Descramblers"

Gallery of CSS Descramblers
For that little PERL bit:
Two Perl implementations courtesy of MIT Student Information Processing Board members Keith Winstein and Marc Horowitz. The shorter one, qrpff, is 526 bytes. The faster one, 531 bytes long, caches the permutation corresponding to CSStab1, and is fast enough to actually use to watch a movie. The programs take a five-byte title key on the command line (five decimal numbers, in least to most-significant order) and an MPEG 2 Program Stream VOB file on stdin, and output a decrypted version of the VOB file. For example, to play The Matrix: cat /mnt/dvd/VOB_FILE_NAME | qrpff 153 2 8 105 225 | extract_mpeg2 | mpeg2dec -

Powered By Greymatter