doc.go 947 B

123456789101112131415161718192021
  1. // Copyright (c) 2013-2014 The btcsuite developers
  2. // Use of this source code is governed by an ISC
  3. // license that can be found in the LICENSE file.
  4. /*
  5. Package btcec implements support for the elliptic curves needed for bitcoin.
  6. Bitcoin uses elliptic curve cryptography using koblitz curves
  7. (specifically secp256k1) for cryptographic functions. See
  8. http://www.secg.org/collateral/sec2_final.pdf for details on the
  9. standard.
  10. This package provides the data structures and functions implementing the
  11. crypto/elliptic Curve interface in order to permit using these curves
  12. with the standard crypto/ecdsa package provided with go. Helper
  13. functionality is provided to parse signatures and public keys from
  14. standard formats. It was designed for use with btcd, but should be
  15. general enough for other uses of elliptic curve crypto. It was originally based
  16. on some initial work by ThePiachu, but has significantly diverged since then.
  17. */
  18. package btcec