import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.PrintStream;
import java.io.IOException;
import java.security.SecureRandom;

public class Chiffreur
{
  /*************************************** attributs privés ***************************************/

  private EPA n;

  private EPA b;


  /************************************* constructeurs publics ************************************/

  public Chiffreur( EPA  n,
                    EPA  b )
  {
    this.n= n;
    this.b= b;
  }

  public Chiffreur( String  nomfichier )
  {
    throw new RuntimeException( "Constructeur Chiffreur( String ) non implanté." );
  }

  /******************************** méthodes publiques d'instances ********************************/

  public EPA getN()
  {
    return n;
  }

  public EPA getB()
  {
    return b;
  }

  public void écritCléPublique( String  nomfichier )
  {
    throw new RuntimeException( "Méthode Chiffreur.écritCléPublique( String ) non implantée." );
  }

  public EPA chiffre( EPA clair )
  {
    throw new RuntimeException( "Méthode Chiffreur.chiffre( EPA ) non implantée." );
  }

  protected void chiffreEtEcrit( byte[]       block,
                                 PrintStream  sortie )
  {
    throw new RuntimeException( "Méthode Chiffreur.chiffreEtEcrit( byte[], PrintStream ) non implantée." );
  }

  public void chiffre( String  entréeNomFichier,
                       String  sortieNomFichier )
  {
    throw new RuntimeException( "Méthode Chiffreur.chiffre( String, String ) non implantée." );
  }
}

