com.didisoft.pgp.bc.elgamal
Class RawElGamalCipher

java.lang.Object
  extended by com.didisoft.pgp.bc.elgamal.security.Cipher
      extended by com.didisoft.pgp.bc.elgamal.RawElGamalCipher
All Implemented Interfaces:
AsymmetricCipher, Parameterized, java.lang.Cloneable

public class RawElGamalCipher
extends Cipher
implements AsymmetricCipher, java.lang.Cloneable

The raw ElGamal encryption algorithm.

References:

  1. Bruce Schneier, "Section 19.6 ElGamal," Applied Cryptography, 2nd edition, John Wiley & Sons, 1996.

Copyright © 1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.3 $

Since:
Cryptix 2.2.2
Author:
David Hopwood

Field Summary
 
Fields inherited from class com.didisoft.pgp.bc.elgamal.security.Cipher
DECRYPT, ENCRYPT, UNINITIALIZED
 
Constructor Summary
RawElGamalCipher()
          Constructor for a RawElGamalCipher.
 
Method Summary
static void main(java.lang.String[] args)
          Entry point for very basic self_test.
static void self_test(java.io.PrintWriter out)
           
 
Methods inherited from class com.didisoft.pgp.bc.elgamal.security.Cipher
blockSize, clone, crypt, crypt, crypt, doFinal, doFinal, doFinal, doFinal, getAlgorithm, getAlgorithms, getAlgorithms, getCiphertextBlockSize, getInputBlockSize, getInstance, getInstance, getInstance, getMode, getOutputBlockSize, getPadding, getParameter, getPlaintextBlockSize, getProvider, getState, inBufferSize, inBufferSizeFinal, initDecrypt, initEncrypt, isPaddingBlockCipher, outBufferSize, outBufferSizeFinal, setParameter, toString, update, update, update, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RawElGamalCipher

public RawElGamalCipher()
Constructor for a RawElGamalCipher.

Method Detail

main

public static final void main(java.lang.String[] args)
Entry point for very basic self_test.


self_test

public static void self_test(java.io.PrintWriter out)
                      throws java.security.KeyException
Throws:
java.security.KeyException


Copyright © 2006-2011 DidiSoft Ltd. All Rights Reserved.