mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 03:01:19 +00:00
da20785685
Former-commit-id: 23f542f43b4b493e38f5aa4c29788ed93a63b43b [formerly 71b23a6a28eb045fcfeab6329de69f1e5455486b] Former-commit-id: d12b3a6decc876f010a71f98e11df7387c1aaf2a
22 lines
947 B
Go
22 lines
947 B
Go
// Copyright (c) 2013-2014 The btcsuite developers
|
|
// Use of this source code is governed by an ISC
|
|
// license that can be found in the LICENSE file.
|
|
|
|
/*
|
|
Package btcec implements support for the elliptic curves needed for bitcoin.
|
|
|
|
Bitcoin uses elliptic curve cryptography using koblitz curves
|
|
(specifically secp256k1) for cryptographic functions. See
|
|
http://www.secg.org/collateral/sec2_final.pdf for details on the
|
|
standard.
|
|
|
|
This package provides the data structures and functions implementing the
|
|
crypto/elliptic Curve interface in order to permit using these curves
|
|
with the standard crypto/ecdsa package provided with go. Helper
|
|
functionality is provided to parse signatures and public keys from
|
|
standard formats. It was designed for use with btcd, but should be
|
|
general enough for other uses of elliptic curve crypto. It was originally based
|
|
on some initial work by ThePiachu, but has significantly diverged since then.
|
|
*/
|
|
package btcec
|