I use the Bouncy Castle Crypto API to implement McEliece in Java. I have also managed to encrypt and decrypt a message and it works without any problems.
When I use the debugger, I see that the program uses n = 2048, k = 1498, t = 50 as default parameters. Is it possible to change these parameters?
The first step I do is:
McElieceCipher cipher = new McElieceCipher(); McElieceKeyPairGenerator generator = new McElieceKeyPairGenerator(); AsymmetricCipherKeyPair keyPair = generator.generateKeyPair();
I know that there is an init method in the KeyGenerator where you can set this but it did not work... I have looked at these docs for this: