Giter Site home page Giter Site logo

opencoin-js's Introduction

This is about developing a js based implementation. We have:

  • jsclient, which contains the opencoin library
  • ocnode, which is a node based demo issuer, in order to facilitate development of a proper client
  • gui, which is a jquerymobile based client

All code is (c) 2013 Joerg Baach, License: GPL v2

opencoin-js's People

Contributors

jhb avatar nilstoedtmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opencoin-js's Issues

request cdd with cdd_serial 0 (or without cdd_serial) fails with TypeError: Cannot call method 'toData' of undefined

POST / HTTP/1.1
Host: 127.0.0.1:6789
Content-Type: application/json; charset=utf-8
Accept-Encoding: gzip, deflate
Content-Length: 63
Accept-Language: en;q=1, de;q=0.9, fr;q=0.8, ja;q=0.7, nl;q=0.6, it;q=0.5
Accept: application/json
Connection: keep-alive
User-Agent: UnitTests/1.0 (iPhone Simulator; iOS 6.1; Scale/2.00)

{"message_reference":"0","type":"request cdd","cdd_serial":"0"}

fails with:
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json
Date: Mon, 18 Mar 2013 10:24:34 GMT
Connection: keep-alive
Transfer-Encoding: chunked

3a
error

TypeError: Cannot call method 'toData' of undefined

Javascript crypto lib performance comparison

CC @jhb

As long as WebCrypto hasn't arrived, we have to use other libs for JS clients. Accidentally, we are using Leemon Baird's BigInt library, but we are not too happy with it, and we need other stuff as well (e.g. sha256 and PKCS1).

We should do performance tests with the most promising JS crypto libs:

  • BigInt encoding/decoding, BigInt inversion (= calculate unblinder) and low-exponent exponentiation (blinding) with these libs: Baird, Wu, Shapiro, Shop-js (Hanewinkel says that was the fastest RSA he found) and (RSA test only) OpenPGP.js and Forge
  • Sha256 tests with SJCL, Crypto-js, jsSHA/OpenPGP.js and Forge

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.