Documentation ¶
Index ¶
- Constants
- func Ecrecovery(data, rawSign []byte) ([]*ecdsa.PublicKey, error)
- func MarshalPubKey(k *ecdsa.PublicKey) []byte
- func SamePubKey(key1, key2 *ecdsa.PublicKey) bool
- func ToECDSA(hexString string) (*ecdsa.PrivateKey, error)
- func UnmarshalPubKey(pub []byte) (*ecdsa.PublicKey, error)
- func UnmarshalSig(b []byte) (*big.Int, *big.Int, error)
Constants ¶
View Source
const DerSignatureLength = 72 + 1
Variables ¶
This section is empty.
Functions ¶
func MarshalPubKey ¶
func SamePubKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.