[ogg-dev] Encrypting Ogg

Ying-Chun Liu grandpaul at gmail.com
Mon Apr 17 22:48:58 PDT 2006


Shawn "AutoDMC" Boles wrote:
> Howdy.
> 
> I have a application I'm developing where I need to encrypt the data
> inside an OGG stream.  I will be using a regular block cypher (AES, or
> others... configurable); and I would like to encrypt the pages in an OGG
> stream.
> 
> I'm thinking that if I sit my decrypter in between the reading
> application and the encrypted file, you should be able to use all the
> normal seeking operations, etc, on the "encrypted" file as the cleartext
> stream.
> 
> But my brain gets a bit stuck on implementation... I'm not quite sure
> how to "interpose" my library/application that way.
> 
> I'm using Python for development (I can always backtrack to C++/etc); my
> application should take an encrypted OGG stream and a key, and you
> should be able to seek through the file as if it wasn't encrypted.
> 

Maybe you should use "counter mode" in block cipher thus you don't need
to decrypt the file from beginning.

> Any pointers?  Similar projects?  Any help would be appreciated.


-- 
                                                PaulLiu(劉穎駿)
E-mail address:PaulLiu.bbs at bbs.cis.nctu.edu.tw

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.xiph.org/pipermail/ogg-dev/attachments/20060418/4e0a1742/signature.pgp


More information about the ogg-dev mailing list