mceliece
Class Encrypt

java.lang.Object
  extended by mceliece.Encrypt

public class Encrypt
extends java.lang.Object

Classe que encripta uma mensagem.

Author:
Rafael

Constructor Summary
Encrypt(PublicKey publicKey, Vector m)
          Construtor
 
Method Summary
 Vector execute(java.lang.StringBuffer log)
          Executa a encriptação
 Matrix getE()
           
 Vector getM()
           
 int getT()
           
 void setE(Matrix e)
           
 void setM(Vector m)
           
 void setT(int t)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Encrypt

public Encrypt(PublicKey publicKey,
               Vector m)
Construtor

Parameters:
publicKey -
m -
Method Detail

execute

public Vector execute(java.lang.StringBuffer log)
Executa a encriptação

Parameters:
log -
Returns:
mensagem encriptada

getE

public Matrix getE()
Returns:
E

setE

public void setE(Matrix e)
Parameters:
e -

getT

public int getT()
Returns:
t

setT

public void setT(int t)
Parameters:
t -

getM

public Vector getM()
Returns:
m

setM

public void setM(Vector m)
Parameters:
m -