rsa

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 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