xrsa

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKey

func GenerateKey(bits int) (resp gorsa.RSAKey, err error)

func PriKeyDecrypt

func PriKeyDecrypt(data, privateKey string) (string, error)

func PriKeyEncrypt

func PriKeyEncrypt(data, privateKey string) (string, error)

func PublicDecrypt

func PublicDecrypt(data, publicKey string) (string, error)

func PublicEncrypt

func PublicEncrypt(data, publicKey string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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