StratisDevelopmentFoundation / StratisDevelopmentFoundation.github.io

9 stars 11 forks source link

Explore alternatives to Bouncy Castle #18

Open dangershony opened 6 years ago

dangershony commented 6 years ago

Currently our fullnode uses Bouncy Castle for cryptography operations.

With the release of ECDSA in netcore 2.1 it might be an option to move to the official MS cryptography namespace.

Also alternatively we could try to create an unmanaged C# wrappers to the official libsec library (see the java example) Its first important to check that the libsec library can serialize POS transactions correctly https://github.com/bitcoin-core/secp256k1/tree/master/src/java

Or even port this library to C# all together, this will be a much bigger bounty though and must be assessed first on how long it may take. https://github.com/bitcoin-core/secp256k1

Additional links https://github.com/Chainers/Cryptography.ECDSA

TjadenFroyda commented 6 years ago

I was exploring this namespace a bit with the secure messaging bounty and might take a crack at it.

Assuming feasibility and benchmarks? What else are you interested in?