secp256k1 algorythm
Switch branches/tags
Nothing to show
Clone or download
Latest commit 0531118 Aug 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Automation Initial commit. Code moved from closed repository. May 24, 2017
Sources hotfix Jun 30, 2018
.gitignore Added gitignore May 30, 2017
.travis.yml travis fix Jun 22, 2018
LICENSE Update LICENSE May 26, 2017
README.md Update README.md Aug 8, 2018

README.md

NuGet version Build Status

Cryptography.ECDSA (secp256k1 only)

This library implements transaction signing algorithm secp256k1 which is used in several blockchains like Bitcoin, EOS and Graphene-based Steem, Golos, BitShares. The library is based on https://github.com/warner/python-ecdsa and https://github.com/bitcoin-core/secp256k1) No other curves are included. C#, MIT license.

Usage

//Sign message
var seckey = Hex.HexToBytes("80f3a375e00cc5147f30bee97bb5d54b31a12eee148a1ac31ac9edc4ecd13bc1f80cc8148e");
var data = Sha256Manager.GetHash(msg);
var sig = Secp256K1Manager.SignCompressedCompact(data, seckey);

Instalation

Install-Package Cryptography.ECDSA.Secp256k1