public class BIKEKEMExtractor extends java.lang.Object implements EncapsulatedSecretExtractor
Constructor and Description |
---|
BIKEKEMExtractor(BIKEPrivateKeyParameters privParams) |
Modifier and Type | Method and Description |
---|---|
byte[] |
extractSecret(byte[] encapsulation)
Extract the secret based on the recipient private key.
|
int |
getEncapsulationLength()
Return the length in bytes of the encapsulation.
|
public BIKEKEMExtractor(BIKEPrivateKeyParameters privParams)
public byte[] extractSecret(byte[] encapsulation)
EncapsulatedSecretExtractor
extractSecret
in interface EncapsulatedSecretExtractor
encapsulation
- the encapsulated secret.public int getEncapsulationLength()
EncapsulatedSecretExtractor
getEncapsulationLength
in interface EncapsulatedSecretExtractor