Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

PirDoubleDigitCount

function PirDoubleDigitCount(aModulus: Integer): Integer;
kappa for a plaintext modulus: the least k with p^k >= 2^32. Computed by multiplication and not from a logarithm, because the answer is wrong by one at p = 256 if the logarithm is taken in floating point.