lyra2dc

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2021 License: GPL-3.0 Imports: 3 Imported by: 2

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

func Do_lyra2DC(msg []byte) ([]byte, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL