package
0.0.0-20241019075200-7a7f2041bc1e
Repository: https://github.com/si-co/vpir-code.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
The function below is modeled on Martin Albrecht's discrete-Gaussian sampler included in his dgs library: https://github.com/malb/dgs.
No description provided by the author
Increase num to the next perfect square.
No description provided by the author
No description provided by the author
No description provided by the author
MaxBytesLength get maximal []byte length in map[int][]byte.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
source: https://stackoverflow.com/questions/43495745/how-to-generate-random-date-in-go-lang/43497333 this is probably biased, but we don't care since it is only for tests.
Produce a random integer in Z_p where mod is the value p.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Given a vector index returns the indices for the matrix representation of the vector.
# Variables
WARNING: DO NOT USE THESE KEYS IN PRODUCTION!.
ServerCertificates holds the certificates for the servers.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
We use the AES-CTR to generate pseudo-random numbers using a stream cipher.
No description provided by the author
# Type aliases
No description provided by the author