To the best of my knowledge, v8 does not include network components. Hence 
you would have to provide the contents of the url as a string. 

On Tuesday, April 19, 2016 at 3:45:49 PM UTC+2, MO wrote:
>
> I need to execute following script which uses crypto-js library in V8. How 
> should I write my js file.
>
> <script type="text/javascript" src="
> http://cryptojs.altervista.org/api/functions_cryptography.js";></script>  
> <script type="text/javascript">  
>   
> var Crypt = new Crypt();  // constructor  
>   
> /*** encrypt */  
> var ciphertext = Crypt.AES.encrypt("plaintext", "Secret Passphrase");  
> // H3fAh9bppeg=xuHy8woEtOfYYI18tLM76A==BKUvKCztSNl8  
>   
> /*** decrypt */  
> var plaintext  = Crypt.AES.decrypt(ciphertext, "Secret Passphrase");  
>   
> </script>  
>
>
>
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to