public final class PrimeFieldByBitLengthFactory extends Object
AbstractPrimeField
,
PrimeFieldByPrimeFactory
Modifier and Type | Method and Description |
---|---|
static AbstractPrimeField |
getField(int bitLength)
Constructs a prime field for a given bitlength.
|
static AbstractPrimeField |
getField(int bitLength,
Random random)
Constructs a prime field for a given bitlength.
|
public static AbstractPrimeField getField(int bitLength)
bitLength
- the bitlength of the primepublic static AbstractPrimeField getField(int bitLength, Random random)
bitLength
- the bitlength of the primerandom
- the random to be used for prime generationCopyright © 2011–2022 Stiftung SIC. All rights reserved.