rsa

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPrivateKey added in v1.1.1

func CheckPrivateKey(key []byte) error

func CheckPublicKey added in v1.1.1

func CheckPublicKey(key []byte) error

func Decrypt

func Decrypt(cip, key []byte) ([]byte, error)

func Encrypt

func Encrypt(src, key []byte) ([]byte, error)

func GenerateRsaKey

func GenerateRsaKey() (priKey, pubKey []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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