Restyled.io f8d4108d44 Restyled by prettier-markdown 3 years ago
..
README.md f8d4108d44 Restyled by prettier-markdown 3 years ago
bench_test.go 1c1561af22 gofmt: Apply gofmt across selected sources... 3 years ago
btcec.go 283823059a mainline/decred: apply code style best practices 3 years ago
btcec_test.go 283823059a mainline/decred: apply code style best practices 3 years ago
ciphering.go dde4805565 Add AMD64 highly parallel optimized SHA-256 hash 3 years ago
ciphering_test.go 283823059a mainline/decred: apply code style best practices 3 years ago
doc.go 8e3b084047 Yay, seems to work 4 years ago
example_test.go 283823059a mainline/decred: apply code style best practices 3 years ago
field.go adf2ac5e47 for merge optimization: mainline btcd/decred style 3 years ago
field_test.go 1c1561af22 gofmt: Apply gofmt across selected sources... 3 years ago
genprecomps.go 4848c68589 Fix missing version from code generators 4 years ago
gensecp256k1.go 283823059a mainline/decred: apply code style best practices 3 years ago
precompute.go 0bcf8664dd Small optimization: Avoid unnecessary conversion. 3 years ago
privkey.go eb19613336 pktd builds with new error system 4 years ago
privkey_test.go fdfa07b0be btcec: Consolidate tests into the btcec package. 7 years ago
pubkey.go eb19613336 pktd builds with new error system 4 years ago
pubkey_test.go 283823059a mainline/decred: apply code style best practices 3 years ago
secp256k1.go 2a753ae9c7 btcec: Regenerate and update precomputed data. 6 years ago
signature.go dde4805565 Add AMD64 highly parallel optimized SHA-256 hash 3 years ago
signature_test.go dde4805565 Add AMD64 highly parallel optimized SHA-256 hash 3 years ago

README.md

btcec

ISC License

Package btcec implements elliptic curve cryptography needed for working with Bitcoin (secp256k1 only for now). It is designed so that it may be used with the standard crypto/ecdsa packages provided with go. A comprehensive suite of test is provided to ensure proper functionality. Package btcec was originally based on work from ThePiachu which is licensed under the same terms as Go, but it has signficantly diverged since then. The btcsuite developers original is licensed under the liberal ISC license.

Although this package was primarily written for btcd and adapted to pktd, it has intentionally been designed so it can be used as a standalone package for any projects needing to use secp256k1 elliptic curve cryptography.

License

Package btcec is licensed under the Copyfree ISC License, except for btcec.go and btcec_test.go, which are licensed under the same license as Go.