Curve25519 plugin for Cordova/Phonegap - for iOS and Android
Curve25519 plugin for Cordova/Phonegap, for iOS and Android.
The Curve25519 implementation in this plugin is Adam Langley's curve25519-donna.
Installation
phonegap plugin add cordova-plugin-curve25519
Usage
The module is available in window.plugins.Curve25519
Input must be hexadecimal strings. Output is also hexadecimal strings.
Examples :
//Computing your public keywindowplugins; //Computing a shared secretwindowplugins;
Testing
- Create a Cordova/Phonegap application
- Add the iOS and/or the Android platforms
- Add the testing framework and bind its page as the main page of the app
- Add this plugin
- Add this plugin's test cases, by adding the plugin located in the
tests
folder
phonegap plugin add https://github.com/LockateMe/cordova-plugin-curve25519.git#:/tests
License
MIT license