Documentation ¶
Index ¶
- func NewRSASecretEncryptor(certPath string) security.ISecretEncryptor
- type RSASecretEncryptor
- func (x *RSASecretEncryptor) DecryptBytesToBytes(input []byte) []byte
- func (x *RSASecretEncryptor) DecryptStringToBytes(input string) []byte
- func (x *RSASecretEncryptor) DecryptStringToString(input string) string
- func (x *RSASecretEncryptor) EncryptBytesToBytes(input []byte) []byte
- func (x *RSASecretEncryptor) EncryptBytesToString(input []byte) string
- func (x *RSASecretEncryptor) EncryptStringToString(input string) string
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
Click to show internal directories.
Click to hide internal directories.