how to use nodejs require('crypto') in Umbraco webpage ?
Hi
I need to use "nodejs" on my umbraco project.
For image manipulation , we are using Aviary SDK scripts. To generate / save high resolutions image using Aviary, it require some authentication stuff (https://developers.aviary.com/docs/web/high-resolution#authentication)
Now if you see 'Signature Generation Example' on above given site, you can see some line of code. I have implemented it on my umbraco webpage (cshtml template). But on the line "var crypto = require('crypto'); " alwayz returns NULL .
We require some cryptography stuff for high resolution images. So can anyone please help me here howw to "require('crypto') " ? Do i need to add any external script ? Do i need to add any utlilities from Visual Studio Package Manger ?
It's really urgent. Your help would be greatly appreciated !!
how to use nodejs require('crypto') in Umbraco webpage ?
Hi
I need to use "nodejs" on my umbraco project.
For image manipulation , we are using Aviary SDK scripts. To generate / save high resolutions image using Aviary, it require some authentication stuff (https://developers.aviary.com/docs/web/high-resolution#authentication)
Now if you see 'Signature Generation Example' on above given site, you can see some line of code. I have implemented it on my umbraco webpage (cshtml template). But on the line "var crypto = require('crypto'); " alwayz returns NULL .
We require some cryptography stuff for high resolution images. So can anyone please help me here howw to "require('crypto') " ? Do i need to add any external script ? Do i need to add any utlilities from Visual Studio Package Manger ?
It's really urgent. Your help would be greatly appreciated !!
Thanks,
rohan dave
is working on a reply...