⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 personne.java

📁 基于java的完整的RSA算法实现 /** * <p>Titre : RSA </p> * <p>Description : Encodage de donn閑s
💻 JAVA
字号:
package rsa;

import java.io.*;
import java.math.*;

public class Personne
    implements Serializable
{
  protected String nom;

  protected BigInteger modulos;
  protected BigInteger clePublic;

  public Personne(String nom, BigInteger modulos, BigInteger clePublic)
  {
    this.nom = nom;
    this.modulos = modulos;
    this.clePublic = clePublic;
  }

  private void readObject(ObjectInputStream ois) throws ClassNotFoundException,
      IOException
  {
    ois.defaultReadObject();
  }

  private void writeObject(ObjectOutputStream oos) throws IOException
  {
    oos.defaultWriteObject();
  }

  public String getNom()
  {
    return nom;
  }

  public BigInteger getClePublic()
  {
    return clePublic;
  }

  public void setClePublic(BigInteger clePublic)
  {
    this.clePublic = clePublic;
  }

  public BigInteger getModulos()
  {
    return modulos;
  }

  public void setModulos(BigInteger modulos)
  {
    this.modulos = modulos;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -