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