p256

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Algorithm

type Algorithm struct {
}

func (*Algorithm) GetPubKeyFromPriKey

func (a *Algorithm) GetPubKeyFromPriKey(priKey []byte) ([]byte, error)

从私钥中获取公钥

func (*Algorithm) Sign

func (a *Algorithm) Sign(priKey []byte, hash []byte) (*algorithm.Signature, error)

签名交易体Hash

Jump to

Keyboard shortcuts

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