rsa

package
v0.0.0-...-0216257 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RSA_PKCS1_PADDING = C.RSA_PKCS1_PADDING
	RSA_NO_PADDING    = C.RSA_NO_PADDING
)

Variables

This section is empty.

Functions

func Destroy

func Destroy()

func PrivateEncrypt

func PrivateEncrypt(from []byte, pem string, padding int, password string) ([]byte, error)

func PublicDecrypt

func PublicDecrypt(from []byte, pem string, padding int) ([]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