rsa

package
v1.10.8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: GPL-3.0 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