encrypt

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptRSA

func DecryptRSA(privateKey string, encryptedData []byte) ([]byte, error)

func DecryptRSAFile

func DecryptRSAFile(privKeyPath string, encryptedData []byte) ([]byte, error)

func EncryptMd5

func EncryptMd5(str string) string

func EncryptRSA

func EncryptRSA(publicKey string, data []byte) ([]byte, error)

func EncryptRSAFile

func EncryptRSAFile(pubKeyPath string, data []byte) ([]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