ltonetwork / seasalt

NaCl compatible cryptography library using Bouncy Castle (Java)
Apache License 2.0
3 stars 1 forks source link

Web3j compatibility #14

Closed KaloyanTanev closed 2 years ago

KaloyanTanev commented 2 years ago

Beforehand we had pure ECDSA algorithms implemented, the class was used for all secpk1 and sectk1 ones. The main goal of SeaSalt is compatibility and more precisely secp256k1. For good or bad, most of the Blockchains using secp256k1 (Bitcoin, Ethereum and others) don't use it in its pure form, given that, changes were required.

Moreover, now there are tests for creating signatures with SeaSalt and verifying them with web3j and vice versa.