txcrypto

package
v0.0.0-...-f069fcf Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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