ecdsa

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignData

func SignData(privateKey *ecdsa.PrivateKey, data []byte) ([]byte, error)

SignData 使用ECDSA私钥为数据签名

func VerifySignature

func VerifySignature(publicKey *ecdsa.PublicKey, data []byte, signature []byte) (bool, error)

VerifySignature 使用ECDSA公钥验证数据的签名

Types

This section is empty.

Jump to

Keyboard shortcuts

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