Class McEliecePublicKeyParameters

    • Constructor Detail

      • McEliecePublicKeyParameters

        public McEliecePublicKeyParameters​(int n,
                                           int t,
                                           GF2Matrix g)
        Constructor.
        Parameters:
        n - the length of the code
        t - the error correction capability of the code
        g - the generator matrix
    • Method Detail

      • getN

        public int getN()
        Returns:
        the length of the code
      • getT

        public int getT()
        Returns:
        the error correction capability of the code
      • getG

        public GF2Matrix getG()
        Returns:
        the generator matrix
      • getK

        public int getK()
        Returns:
        the dimension of the code