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 //
7 // Bitcoin uses elliptic curve cryptography using koblitz curves
8 // (specifically secp256k1) for cryptographic functions. See
9 // http://www.secg.org/collateral/sec2_final.pdf for details on the
10 // standard.
11 //
12 // This package provides the data structures and functions implementing the
13 // crypto/elliptic Curve interface in order to permit using these curves
14 // with the standard crypto/ecdsa package provided with go. Helper
15 // functionality is provided to parse signatures and public keys from
16 // standard formats. It was designed for use with btcd, but should be
17 // general enough for other uses of elliptic curve crypto. It was originally based
18 // on some initial work by ThePiachu, but has significantly diverged since then.
19 package btcec
20