7 Commits

Author SHA1 Message Date
arnaucube
0e9f71e07e Migrate to geth/secp256k1, add checks
Migrate from btcd/btcec to go-ethereum/crypto/secp256k1
Abstract calls on secp256k1.S256()
Change newRand approach, use ecdsa.GenerateKey underneath
Add check of size of mBlinded & k when blind signing
2021-11-18 10:40:35 +01:00
arnaucube
ac5d00b892 Add checks to inputs at Blind & BlindSign 2021-02-09 20:51:50 +01:00
arnaucube
876755a714 Update Unblind inputs removing unnecessary m
- Update Unblind inputs removing unnecessary `m`
- Add mod at Blind & BlindSign
2021-02-03 23:26:05 +01:00
arnaucube
6b93980674 Add json Marshalers 2021-01-17 19:53:06 +01:00
arnaucube
becff7b647 Update interface 2021-01-16 20:53:55 +01:00
arnaucube
ec095bba83 Implement https://sci-hub.do/10.1109/ICCKE.2013.6682844
Previous to this commit there was the implementation of "[An Efficient Blind Signature Scheme Based on the Elliptic Curve Discrete Logarithm Problem](http://www.isecure-journal.com/article_39171_47f9ec605dd3918c2793565ec21fcd7a.pdf)" paper by by Morteza Nikooghadama & Ali Zakerolhosseini.

This commit adds the implementation of "[New Blind Signature Schemes Based on the (Elliptic Curve) Discrete Logarithm Problem](https://sci-hub.do/10.1109/ICCKE.2013.6682844)" paper by Hamid Mala & Nafiseh Nezhadansari.
2021-01-11 21:08:46 +01:00
arnaucube
c3e4afc552 Add WASM wrappers & compiled 2021-01-10 23:32:24 +01:00