crypto

package
v0.0.0-...-6312dd6 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EccSign

func EccSign(plainText []byte, privateKeyFile string) (rText, sText []byte, err error)

EccSign 对数据进行Ecc签名, sha256

func EccVerify

func EccVerify(plainText, rText, sTest []byte, publicKeyFile string) (b bool, err error)

EccVerify Ecc签名认证, sha256

func GenerateEccKey

func GenerateEccKey(privateKeyFile, publicKeyFile string) error

GenerateEccKey 生成Ecc秘钥对,P256

Types

This section is empty.

Jump to

Keyboard shortcuts

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