Documentation ¶
Index ¶
- func DERDecode(b []byte) (*big.Int, *big.Int, error)
- func DEREncode(r, s *big.Int) []byte
- func DoubleHash(data []byte) []byte
- func ParseCompact(b []byte) (*big.Int, *big.Int, error)
- func ParsePublicKey(d []byte) (*big.Int, *big.Int, error)
- func ParseUncompressed(d []byte) (*big.Int, *big.Int, error)
- func RIPEMD160Hash(data []byte) []byte
- func ReverseBytes(b []byte) []byte
- func SerializeUncompressed(x, y *big.Int) []byte
- type Hash
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoubleHash ¶
func ParseUncompressed ¶
ParseUncompressed parses a 65 bytes uncompressed public address into a (X,Y) point on the curve.
func RIPEMD160Hash ¶
func ReverseBytes ¶
func SerializeUncompressed ¶
SerializeUncompressed serializes a point on the curve into a 65 byte long byte array.
Types ¶
Click to show internal directories.
Click to hide internal directories.