benchmark

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRSAKeys

func GenerateRSAKeys() (priv *rsa.PrivateKey, pub *rsa.PublicKey)

func SignWithRSAPrivateKey

func SignWithRSAPrivateKey(priv *rsa.PrivateKey, msg []byte) (hashed []byte, signature []byte, err error)

func VerifyWithRSAPublicKey

func VerifyWithRSAPublicKey(pub *rsa.PublicKey, hashed []byte, signature []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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