cipher

package
v0.0.0-...-701726f Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: EPL-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Md5

func Md5(sourceData string) string

func RsaBase64Decrypt

func RsaBase64Decrypt(privateKey string, base64Str string) (string, error)

RsaBase64Decrypt 解密

func RsaBase64Encrypt

func RsaBase64Encrypt(publicKey string, sourceData string) (string, error)

RsaBase64Encrypt 加密

func RsaDecrypt

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

RsaDecrypt 解密

func RsaEncrypt

func RsaEncrypt(publicKey string, sourceData []byte) ([]byte, error)

RsaEncrypt 加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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