rsa

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRSASecretEncryptor

func NewRSASecretEncryptor(certPath string) security.ISecretEncryptor

Types

type RSASecretEncryptor

type RSASecretEncryptor struct {
	// contains filtered or unexported fields
}

func (*RSASecretEncryptor) DecryptBytesToBytes

func (x *RSASecretEncryptor) DecryptBytesToBytes(input []byte) []byte

func (*RSASecretEncryptor) DecryptStringToBytes

func (x *RSASecretEncryptor) DecryptStringToBytes(input string) []byte

func (*RSASecretEncryptor) DecryptStringToString

func (x *RSASecretEncryptor) DecryptStringToString(input string) string

func (*RSASecretEncryptor) EncryptBytesToBytes

func (x *RSASecretEncryptor) EncryptBytesToBytes(input []byte) []byte

func (*RSASecretEncryptor) EncryptBytesToString

func (x *RSASecretEncryptor) EncryptBytesToString(input []byte) string

func (*RSASecretEncryptor) EncryptStringToString

func (x *RSASecretEncryptor) EncryptStringToString(input string) string

Jump to

Keyboard shortcuts

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