cryptx

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptSenInfo

func DecryptSenInfo(encInfo string) (string, error)

func EncryptSenInfo

func EncryptSenInfo(info string) string

Types

type SenInfoEncryptor

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

func NewFromStrKey

func NewFromStrKey(keyStr string) (*SenInfoEncryptor, error)

func NewSenInfoEncryptor

func NewSenInfoEncryptor(key []byte) (*SenInfoEncryptor, error)

func (*SenInfoEncryptor) Decrypt

func (p *SenInfoEncryptor) Decrypt(encInfo string) (string, error)

func (*SenInfoEncryptor) Encrypt

func (p *SenInfoEncryptor) Encrypt(info string) string

Jump to

Keyboard shortcuts

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