package
1.4.3
Repository: https://github.com/ldsec/unlynx.git
Documentation: pkg.go.dev

# Packages

Package protocolsunlynxutils contains the proof verification protocol which permits a server to check all available proofs.

# Functions

AdaptCipherTextArray adapt an a CipherText array into a CipherTextMatrix.
CipherVectorToDeterministicTag creates a tag (grouping key) from a cipher vector.
CipherVectorToFilteredResponse rebuild a FilteredResponse array with some lengths and a cipherVector source.
DeterCipherVectorToProcessResponseDet build from DeterministCipherVector and ProcessResponse a ProcessResponseDet array.
FilteredResponseToCipherVector transform a FilteredResponse into a CipherVector.
MatrixCipherTextToProcessResponse transform the CipherVector array (with the lengths of the previous process response) back into a ProcessReponse.
NewCollectiveAggregationProtocol initializes the protocol instance.
NewDeterministicTaggingProtocol constructs tagging switching protocol instances.
NewKeySwitchingProtocol initializes the protocol instance.
NewShufflingPlusDDTProtocol constructs neff shuffle + ddt protocol instance.
NewShufflingProtocol constructs neff shuffle protocol instances.
ProcessResponseToCipherVector build from a ProcessResponse array a CipherVector.
ProcessResponseToMatrixCipherText transform a process response to an array of CipherVector.
RetrieveSimpleDataFromMap extract the data from a map into an array.
TaggingDet performs one step in the distributed deterministic tagging process and creates corresponding proof.

# Constants

CollectiveAggregationProtocolName is the registered name for the collective aggregation protocol.
DeterministicTaggingProtocolName is the registered name for the deterministic tagging protocol.
DROProtocolName is the registered name for the differential privacy protocol.
EMPTYKEY Const string to use as default key when use SimpleData array.
KeySwitchingProtocolName is the registered name for the collective aggregation protocol.
ShufflingPlusDDTProtocolName is the registered name for the shuffling + .
ShufflingProtocolName is the registered name for the neff shuffle protocol.

# Structs

CADBLengthMessage is a message containing the lengths to read a shuffling message in bytes.
ChildAggregatedDataBytesMessage is ChildAggregatedDataMessage in bytes.
ChildAggregatedDataMessage contains one node's aggregated data.
CollectiveAggregationProtocol performs an aggregation of the data held by every node in the cothority.
CothorityAggregatedData is the collective aggregation result.
DataReferenceMessage message sent to trigger an aggregation protocol.
DeterministicTaggingBytesMessage represents a deterministic tagging message in bytes.
DeterministicTaggingMessage represents a deterministic tagging message containing the processed cipher vectors DP responses.
DeterministicTaggingProtocol hold the state of a deterministic tagging protocol instance.
DownBytesStruct struct used to send DownMessage(Bytes).
DownMessage message sent down the tree containing all the rB (left part of ciphertexts).
DownMessageBytes message sent down the tree containing all the rB (left part of ciphertexts) in bytes.
DTBLengthMessage represents a message containing the lengths of a DeterministicTaggingMessageBytes message.
GroupingAttributes are the grouping attributes used to create the tag.
KeySwitchingProtocol performs an aggregation of the data held by every node in the cothority.
LengthMessage is a message containing the length of a message in bytes.
LengthStruct struct used to send LengthMessage.
ShufflingBytesMessage represents a shuffling message in bytes.
ShufflingBytesMessageLength is a message containing the lengths to read a shuffling message in bytes.
ShufflingMessage represents a message containing data to shuffle.
ShufflingPlusDDTBytesLength is a message containing the lengths to read a ShufflingPlusDDTMessage in bytes.
ShufflingPlusDDTBytesMessage represents a ShufflingPlusDDTMessage in bytes.
ShufflingPlusDDTMessage represents a message containing data to shuffle and tag.
ShufflingPlusDDTProtocol hold the state of a shuffling+ddt protocol instance.
ShufflingProtocol hold the state of a shuffling protocol instance.
UpBytesMessage is UpMessage in bytes.
UpBytesStruct struct used to send Up(Bytes)Message.
UpMessage contains the ciphertext used by the servers to create their key switching contribution.