encrypt

package
v0.0.0-...-c03a20c Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptOpAes

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

func (*EncryptOpAes) Decrypt

func (self *EncryptOpAes) Decrypt(data []byte) ([]byte, error)

func (*EncryptOpAes) Encrypt

func (self *EncryptOpAes) Encrypt(data []byte) ([]byte, error)

func (*EncryptOpAes) Init

func (self *EncryptOpAes) Init(direct bool, params []interface{}) bool

func (*EncryptOpAes) Operate

func (self *EncryptOpAes) Operate(input interface{}, output interface{}) (bool, error)

type EncryptOpDes

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

func (*EncryptOpDes) Decrypt

func (self *EncryptOpDes) Decrypt(data []byte) ([]byte, error)

func (*EncryptOpDes) Encrypt

func (self *EncryptOpDes) Encrypt(data []byte) ([]byte, error)

func (*EncryptOpDes) Init

func (self *EncryptOpDes) Init(direct bool, params []interface{}) bool

func (*EncryptOpDes) Operate

func (self *EncryptOpDes) Operate(input interface{}, output interface{}) (bool, error)

type EncryptOpMd5

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

func (*EncryptOpMd5) Decrypt

func (*EncryptOpMd5) Decrypt(data []byte) ([]byte, error)

func (*EncryptOpMd5) Encrypt

func (*EncryptOpMd5) Encrypt(data []byte) ([]byte, error)

func (*EncryptOpMd5) Init

func (self *EncryptOpMd5) Init(direct bool, params []interface{}) bool

func (*EncryptOpMd5) Operate

func (self *EncryptOpMd5) Operate(input interface{}, output interface{}) (bool, error)

type EncryptOpRsa

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

func (*EncryptOpRsa) Decrypt

func (self *EncryptOpRsa) Decrypt(data []byte) ([]byte, error)

func (*EncryptOpRsa) Encrypt

func (self *EncryptOpRsa) Encrypt(data []byte) ([]byte, error)

func (*EncryptOpRsa) Init

func (self *EncryptOpRsa) Init(direct bool, params []interface{}) bool

func (*EncryptOpRsa) Operate

func (self *EncryptOpRsa) Operate(input interface{}, output interface{}) (bool, error)

type EncryptOpSha1

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

func (*EncryptOpSha1) Decrypt

func (*EncryptOpSha1) Decrypt(data []byte) ([]byte, error)

func (*EncryptOpSha1) Encrypt

func (*EncryptOpSha1) Encrypt(data []byte) ([]byte, error)

func (*EncryptOpSha1) Init

func (self *EncryptOpSha1) Init(direct bool, params []interface{}) bool

func (*EncryptOpSha1) Operate

func (self *EncryptOpSha1) Operate(input interface{}, output interface{}) (bool, error)

Jump to

Keyboard shortcuts

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