rsa

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Private

type Private interface {

	// Decrypt 解密
	Decrypt(decryptStr string) (string, error)
	// contains filtered or unexported methods
}

func NewPrivate

func NewPrivate(privateKey string) Private

type Public

type Public interface {

	// Encrypt 加密
	Encrypt(encryptStr string) (string, error)
	// contains filtered or unexported methods
}

func NewPublic

func NewPublic(publicKey string) Public

Jump to

Keyboard shortcuts

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