Log in

View Full Version : CSS Cipher implementation


NeonMan
5th February 2008, 02:46
Hi!
Does anyone known where I can find an implementation to encrypt/decrypt CSS streams?
I'm not looking for a DeCSS-Like program but rather a program like mcrypt, able to (de)encrypt streams given a key or simply an implementation of the cipher.

Shinigami-Sama
5th February 2008, 04:59
uhh....
7zip?

NeonMan
5th February 2008, 17:20
What do you mean with 7Zip?

on http://www.dvd-copy.com/news/cryptanalysis_of_contents_scrambling_system.htm the cipher is defined so I'll implement it from that, it is REALLY simple (and weak), basically two LFSR (http://en.wikipedia.org/wiki/LFSR)(16 + 1 bit and 24 + 1 bit each one) with parts of the key as seed being continuously iterated to generate the cipher's stream.

<edit>
http://www.cs.cmu.edu/~dst/DeCSS/Kesden/index.html
Full description of the CSS scheme with description of the cipher. The other document describes the cryptanalyses
</edit>

Adub
5th February 2008, 18:25
May I ask why?

NeonMan
5th February 2008, 20:23
Simply I wanted to understand the weakness in the scheme, particulary the weakness of the cipher (I can't believe it is that simple!)

blutach
5th February 2008, 23:20
I thought DVD Jon had it on his T-Shirt :)

Regards

linx05
6th February 2008, 01:29
You can have it on a tie too! http://www.cs.cmu.edu/~dst/DeCSS/Gallery/

Ajax_Undone
6th February 2008, 07:39
Hey I have one of those ties in my closet...