rsa

package
v0.0.0-...-1a281b6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(data, privateKey []byte) ([]byte, error)

解密

func Encrypt

func Encrypt(data, publicKey []byte) ([]byte, error)

加密

func GenKey

func GenKey(bits int) error

生成私钥和公钥文件 GenRsaKey(1024)

Types

This section is empty.

Jump to

Keyboard shortcuts

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