cipher

package
v0.0.0-...-0b54cd7 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MessageDecrypt

func MessageDecrypt(privKey *btcec.PrivateKey, ciphertext *[]byte) (*[]byte, error)

MessageDecrypt decrypts data that was encrypted using the Encrypt function.

func MessageEncrypt

func MessageEncrypt(pubKey *btcec.PublicKey, plainText *[]byte) (*[]byte, error)

MessageEncrypt encrypts data for the target public key using AES-256-CBC.

func OutputAddress

func OutputAddress(flagM int, flagN int, flagPublicKeys string) (string, string, error)

Duplicate the multisig functions due to the project package issues Refrence: github.com/soroushjp/go-bitcoin-multisig/multisig OutputAddress formats and prints relevant outputs to the user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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