2016-11-08
1.0.1
André Vieira
10.0.105.0
All
All
Libraries
[Overview]
Wrapper for Forge, a native implementation of TLS (and various other cryptographic tools) in JavaScript. https://github.com/digitalbazaar/forge
[Detail]
Wrapper for the Forge library that implements several cryptographic algorithms for ciphers, PKI, and message digests.
Currently, this wrapper only exposes APIs for the AES cipher algorithm.
How to use it
Here's a brief tutorial on how to use the library.
Use the InitForgeLibrary action to load the script, usually in the OnApplicationReady event.
Use the GenerateKeyAndIV action to generate the encryption key and iv necessary to use the algorithm.
Store them safely and locally on the device using the Key Store Plugin.
Use EncryptAES and DecryptAES actions to encrypt and decrypt the values.