Giter Club home page Giter Club logo

cordova-plugin-curve25519's Introduction

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 key
window.plugins.curve25519(secretKey, undefined, function(err, publicKey){

});

//Computing a shared secret
window.plugins.curve25519(secretKey, counterpartPublicKey, function(err, sharedSecret){

});

Testing

  1. Create a Cordova/Phonegap application
  2. Add the iOS and/or the Android platforms
  3. Add the testing framework and bind its page as the main page of the app
  4. Add this plugin
  5. 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

cordova-plugin-curve25519's People

Contributors

abenmrad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.