sinkhole

package
v0.0.0-...-a3f0f6a Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sinkhole

type Sinkhole struct {
	// contains filtered or unexported fields
}

func New

func New(s_len, ss_len, ps_len int, sk crypto.PrivateKey, pk crypto.PublicKey) Sinkhole

func (*Sinkhole) Add

func (s *Sinkhole) Add(suffix string, key []byte, value []byte) error

TODO: feature more than one entry per row!

func (*Sinkhole) Query

func (s *Sinkhole) Query(ss string, q [][]byte, pubkey paillier.PublicKey) ([][]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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