Documentation ¶
Overview ¶
Package lyra2dc wraps the bitcoin lyra2dc C library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnkownErrorLyra2DC = errors.New("Unkown error on lyra2DC")
)
Functions ¶
func Do_lyra2DC ¶
Sign creates a recoverable ECDSA signature. The produced signature is in the 65-byte [R || S || V] format where V is 0 or 1.
The caller is responsible for ensuring that msg cannot be chosen directly by an attacker. It is usually preferable to use a cryptographic hash function on any input before handing it to this function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.