crypto

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrivateShare added in v0.5.1

type PrivateShare struct {
	// index of the participant
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// the share itself
	Share                []byte   `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PrivateShare holds a share that is private for the given participant at the given index.

func (*PrivateShare) Descriptor added in v0.5.1

func (*PrivateShare) Descriptor() ([]byte, []int)

func (*PrivateShare) GetIndex added in v0.5.1

func (m *PrivateShare) GetIndex() uint32

func (*PrivateShare) GetShare added in v0.5.1

func (m *PrivateShare) GetShare() []byte

func (*PrivateShare) ProtoMessage added in v0.5.1

func (*PrivateShare) ProtoMessage()

func (*PrivateShare) Reset added in v0.5.1

func (m *PrivateShare) Reset()

func (*PrivateShare) String added in v0.5.1

func (m *PrivateShare) String() string

func (*PrivateShare) XXX_DiscardUnknown added in v0.5.1

func (m *PrivateShare) XXX_DiscardUnknown()

func (*PrivateShare) XXX_Marshal added in v0.5.1

func (m *PrivateShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivateShare) XXX_Merge added in v0.5.1

func (dst *PrivateShare) XXX_Merge(src proto.Message)

func (*PrivateShare) XXX_Size added in v0.5.1

func (m *PrivateShare) XXX_Size() int

func (*PrivateShare) XXX_Unmarshal added in v0.5.1

func (m *PrivateShare) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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