github.com/lbryio/lbcd@v0.22.119/btcec/doc.go (about)

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