Ravi Wayne
Posts: 0
Joined: Sat Jul 20, 2013 7:20 pm

Encryption

Hello,

I am trying to use SJCL encryption (http://crypto.stanford.edu/sjcl/) in my project to encrypt local db contents. Can you suggest how I can access the javascript functions within an existing javasript routine? The existing javascript routine is used to persist data to a local db from REST.

For example:

sjcl.encrypt("password", "data")

Is there a way to use a include statement on the HTML page?

Thank you.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Encryption

Did you already add the JavaScript function to your app? Here is how to do it: http://docs.appery.io/documentation/u...

Once you added the file, it's available on any page in your app. You can invoke it on any event.

Ravi Wayne
Posts: 0
Joined: Sat Jul 20, 2013 7:20 pm

Encryption

Thank you very much Max. I am trying it now.

Return to “Issues”