-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
21 lines (18 loc) · 989 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2013-2014 The btcsuite developers
// Copyright (c) 2015-2019 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
/*
Package secp256k1 implements support for the elliptic curves needed for Decred.
Decred uses elliptic curve cryptography using koblitz curves
(specifically secp256k1) for cryptographic functions. See
https://www.secg.org/sec2-v2.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 dcrd, 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 secp256k1