Bouncy Castle Cryptography Library 1.49

org.bouncycastle.pqc.crypto.mceliece
Class McElieceKobaraImaiDigestCipher

java.lang.Object
  extended by org.bouncycastle.pqc.crypto.mceliece.McElieceKobaraImaiDigestCipher

public class McElieceKobaraImaiDigestCipher
extends java.lang.Object


Constructor Summary
McElieceKobaraImaiDigestCipher(MessageEncryptor mcElieceCCA2Cipher, Digest messDigest)
           
 
Method Summary
 void init(boolean forEncrypting, CipherParameters param)
           
 byte[] messageDecrypt(byte[] ciphertext)
           
 byte[] messageEncrypt()
           
 void reset()
           
 void update(byte b)
           
 void update(byte[] in, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

McElieceKobaraImaiDigestCipher

public McElieceKobaraImaiDigestCipher(MessageEncryptor mcElieceCCA2Cipher,
                                      Digest messDigest)
Method Detail

init

public void init(boolean forEncrypting,
                 CipherParameters param)

messageEncrypt

public byte[] messageEncrypt()

messageDecrypt

public byte[] messageDecrypt(byte[] ciphertext)

update

public void update(byte b)

update

public void update(byte[] in,
                   int off,
                   int len)

reset

public void reset()

Bouncy Castle Cryptography Library 1.49