Documentation ¶
Overview ¶
Package dummy provides the mocking functions
Index ¶
- func GetCipher(cipherKeyFilePath string) c.IEdgeCipherer
- type Cipher
- func (ec *Cipher) DecryptByte(byteData []byte) ([]byte, error)
- func (ec *Cipher) DecryptByteToJSON(data []byte) (jsonMap map[string]interface{}, err error)
- func (ec *Cipher) EncryptByte(byteData []byte) ([]byte, error)
- func (ec *Cipher) EncryptJSONToByte(jsonMap map[string]interface{}) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCipher ¶
func GetCipher(cipherKeyFilePath string) c.IEdgeCipherer
GetCipher set passphrase for ciphering
Types ¶
type Cipher ¶
type Cipher struct {
// contains filtered or unexported fields
}
Cipher has passphrase for ciphering
func (*Cipher) DecryptByte ¶
DecryptByte is mocking function for DecryptByte
func (*Cipher) DecryptByteToJSON ¶
DecryptByteToJSON is mocking function for DecryptByteToJSON
func (*Cipher) EncryptByte ¶
EncryptByte is mocking function for EncryptByte
Click to show internal directories.
Click to hide internal directories.