encrypt

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MD5

func MD5(data []byte) string

生成32位md5字串[小写]

func RsaDecrypt

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

解密

func RsaEncrypt

func RsaEncrypt(origData []byte, publicKey string) ([]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