integergroup

class integergroup.IntegerGroup(start=0)[source]

Bases: object

EndBenchmark()[source]

ends an ongoing benchmark

GetBenchmark(option)[source]

retrieves benchmark results for any of these options: RealTime, CpuTime, Mul, Div, Add, Sub, Exp

GetGeneralBenchmarks()[source]

retrieves benchmark count for all group operations

InitBenchmark()[source]

initiates the benchmark state

StartBenchmark(options)[source]

starts the benchmark with any of these options: RealTime, CpuTime, Mul, Div, Add, Sub, Exp

bitsize()[source]
decode(element)[source]
deserialize(bytes_object)[source]
encode(M)[source]
groupOrder()[source]
groupSetting()[source]
groupType()[source]
hash(*args)[source]
isMember(x)[source]
paramgen(bits, r=2)[source]
random(max=0)[source]
randomGen()[source]
serialize(object)[source]
setparam(p, q)[source]
class integergroup.IntegerGroupQ(start=0)[source]

Bases: object

EndBenchmark()[source]

ends an ongoing benchmark

GetBenchmark(option)[source]

retrieves benchmark results for any of these options: RealTime, CpuTime, Mul, Div, Add, Sub, Exp

GetGeneralBenchmarks()[source]

retrieves benchmark count for all group operations

InitBenchmark()[source]

initiates the benchmark state

StartBenchmark(options)[source]

starts the benchmark with any of these options: RealTime, CpuTime, Mul, Div, Add, Sub, Exp

decode(element)[source]
deserialize(bytes_object)[source]
encode(M)[source]
groupOrder()[source]
groupSetting()[source]
groupType()[source]
hash(*args)[source]
isMember(x)[source]
messageSize()[source]
paramgen(bits, r=2)[source]
random(max=0)[source]
randomG()[source]
randomGen()[source]
serialize(object)[source]
setparam(p, q)[source]
class integergroup.RSAGroup[source]

Bases: object

EndBenchmark()[source]

ends an ongoing benchmark

GetBenchmark(option)[source]

retrieves benchmark results for any of these options: RealTime, CpuTime, Mul, Div, Add, Sub, Exp

GetGeneralBenchmarks()[source]

retrieves benchmark count for all group operations

InitBenchmark()[source]

initiates the benchmark state

StartBenchmark(options)[source]

starts the benchmark with any of these options: RealTime, CpuTime, Mul, Div, Add, Sub, Exp

decode(value)[source]
deserialize(bytes_object)[source]
encode(value)[source]
groupOrder()[source]
groupSetting()[source]
groupType()[source]
paramgen(secparam)[source]
random(max=0)[source]
serialize(object)[source]
setparam(p, q)[source]