Nodejs cypher binary data and decypher in Actionscript

Is there any solution for this? I would like to implement pseudostreaming video player with DRM protection.

So basically scheme like this:

AS requests video at ?time=12, Nodejs encrypt it with a secret key and pass to actionscript. Inside actionscript we decrypt it with the same key.

Flash player will be obfuscated, encrypted, key will be generated via some function instead of raw unbofuscated string.

I haven't found a better solution for video stream protection. Any solutions, ideas will be welcomed. :)

Thanks