Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cryptor ¶
type Cryptor interface { // encrypt can encrypt the content in IBTP for mode: dirct、relay Encrypt(content []byte, address string, mode string) ([]byte, error) // decrypt can decrypt the content in IBTP Decrypt(content []byte, address string, mode string) ([]byte, error) }
func NewCryptor ¶
func NewCryptor(client rpcx.Client, mgr appchainmgr.AppchainMgr, privKey crypto.PrivateKey) Cryptor
Directories ¶
Path | Synopsis |
---|---|
Package mock_txcrypto is a generated GoMock package.
|
Package mock_txcrypto is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.