javascript - Video encryption by Crypto.js -


how encrypt , decrypt video , audio streaming url crypto.js? line of code :

var encrypted = cryptojs.aes.encrypt("#string#", "#thekey#"); 

require data string.

so can do? have video url.

it's not simple put url in variable, have listen stream, & when receive data have download , encrypt after.

just check @ ffmpeg node_module if have specific video stream url (m3u format) or request if have file video url


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -