[Flashcoders] simple xor crypting as 3.0

2006-06-29 Thread neve_capricorn

hi,

i would like to develope a little encryption for flv -streams in as 3.0.

my goal is to encrypt the hole flv with xor and to decrypt it with the 
bytearray function from the net-class. but it seems unpossible to

send the encrypt data to an video-object cause adobe/flash player 9 dont
gives us raw acces to video or sound-objects. 


please correct me when iam false.

regards
tom, germany

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] simple xor crypting as 3.0

2006-06-29 Thread Jim Cheng

[EMAIL PROTECTED] wrote:

my goal is to encrypt the hole flv with xor and to decrypt it with the 
bytearray function from the net-class. but it seems unpossible to

send the encrypt data to an video-object cause adobe/flash player 9 dont
gives us raw acces to video or sound-objects.
please correct me when iam false.


Actually, you may be able to do this in ActionScript 3.0 by passing your 
ByteArray back in through a Loader instance.  This way, you should be 
able to at least decode a SWF embedding an FLV on the fly and pass it 
back through--though I don't know whether this is possible with a raw 
FLV file.


You might want to check out the following entry from David Rorex's blog:

  http://blog.davr.org/2006/04/21/dynamic-sound-in-85/

Back in April, he managed to encode a Flash 8 SWF containing a sound 
into a Flash 9 SWF, decode it at run-time and pass it back in for 
playback as a initial experiment towards creating procedurally generated 
sound at run-time.


Jim
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] simple xor crypting as 3.0

2006-06-29 Thread neve_capricorn

hi jim,

wow..thanks for that post!

so it seems to be possible i think.

best regards
tom

- Original Message - 
From: Jim Cheng [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 29, 2006 3:04 PM
Subject: Re: [Flashcoders] simple xor crypting as 3.0



[EMAIL PROTECTED] wrote:

my goal is to encrypt the hole flv with xor and to decrypt it with the 
bytearray function from the net-class. but it seems unpossible to
send the encrypt data to an video-object cause adobe/flash player 9 
dont

gives us raw acces to video or sound-objects.
please correct me when iam false.


Actually, you may be able to do this in ActionScript 3.0 by passing your 
ByteArray back in through a Loader instance.  This way, you should be able 
to at least decode a SWF embedding an FLV on the fly and pass it back 
through--though I don't know whether this is possible with a raw FLV file.


You might want to check out the following entry from David Rorex's blog:

  http://blog.davr.org/2006/04/21/dynamic-sound-in-85/

Back in April, he managed to encode a Flash 8 SWF containing a sound into 
a Flash 9 SWF, decode it at run-time and pass it back in for playback as a 
initial experiment towards creating procedurally generated sound at 
run-time.


Jim
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com