How to read a DLL with Cordova or Javascript

0

I am creating an app which to do communication with my server I need to create a hash variable that depends on the class, function and parameters I am sending. the server validates this information and only then continues its process.

Today, the only way we can find the project for this encryption is:

  • I am linking this DLL to a webservice where I send all my parameters,
  • It generates my encrypted hash and returns me the data,
  • I've got this hash , return to a second function that sends data + hash
  • The server understands my request, handles, and returns the result

In the system above, I have 2 requests that involve communication and cause an absurd and unnecessary delay in requests, and the only solution would be to have that DLL in my Cordova application and read it.

>

Does anyone know how I can solve this problem?

    
asked by anonymous 18.06.2015 / 13:53

0 answers