CipherParameters
public class McEliecePublicKeyParameters extends McElieceKeyParameters
Constructor | Description |
---|---|
McEliecePublicKeyParameters(int n,
int t,
GF2Matrix g) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
GF2Matrix |
getG() |
|
int |
getK() |
|
int |
getN() |
|
int |
getT() |
isPrivate
getParameters
public McEliecePublicKeyParameters(int n, int t, GF2Matrix g)
n
- the length of the codet
- the error correction capability of the codeg
- the generator matrixpublic int getN()
public int getT()
public GF2Matrix getG()
public int getK()