rsa

package
v2.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(cryptText, key []byte) (plainText []byte, err error)

func Encrypt

func Encrypt(plainText, key []byte) (cryptText []byte, err error)

func GeneralRsaKey

func GeneralRsaKey() error

func Sign

func Sign(msg, Key []byte) (cryptText []byte, err error)

func VerifySign

func VerifySign(msg []byte, sign []byte, Key []byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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