|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.pqc.crypto.mceliece.McElieceCCA2Primitives
public final class McElieceCCA2Primitives
Core operations for the CCA-secure variants of McEliece.
| Method Summary | |
|---|---|
static GF2Vector[] |
decryptionPrimitive(McElieceCCA2PrivateKeyParameters privKey,
GF2Vector c)
The McEliece decryption primitive. |
static GF2Vector |
encryptionPrimitive(McElieceCCA2PublicKeyParameters pubKey,
GF2Vector m,
GF2Vector z)
The McEliece encryption primitive. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GF2Vector encryptionPrimitive(McElieceCCA2PublicKeyParameters pubKey,
GF2Vector m,
GF2Vector z)
pubKey - the public keym - the message vectorz - the error vector
public static GF2Vector[] decryptionPrimitive(McElieceCCA2PrivateKeyParameters privKey,
GF2Vector c)
privKey - the private keyc - the ciphertext vector c = m*G + z
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||