estimator.lwe_parameters.LWEParameters.updated#

LWEParameters.updated(**kwds)[source]#

Return a new set of parameters updated according to kwds.

Parameters

kwds – We set key to value in the new set of parameters.

EXAMPLE:

>>> from estimator import *
>>> Kyber512
LWEParameters(n=512, q=3329, Xs=D(σ=1.22), Xe=D(σ=1.22), m=512, tag='Kyber 512')
>>> Kyber512.updated(m=1337)
LWEParameters(n=512, q=3329, Xs=D(σ=1.22), Xe=D(σ=1.22), m=1337, tag='Kyber 512')