myblowfish.java

来自「a Big Java source Code Exemples」· Java 代码 · 共 33 行

JAVA
33
字号
// Updates: 2004.03.23


import java.io.*;
import java.math.*;
import java.util.*;
import javax.crypto.*;
import java.security.*;
import javax.crypto.spec.*;
import java.security.interfaces.*;


/** 
 * Cette classe propose des m閠hodes permettant de crypter et d閏rypter des 
 * messages avec l'algorithme de Blowfish.
 */
public class MyBlowfish {
  public final static int KEY_SIZE = 128;  // [32..448]

  private Key secretKey;
  
  
  public MyBlowfish() {
  }

 
  public Key getSecretKey() {
    return secretKey;
  }
  
  
  /**
   * Retourne toutes les informations de la cl

⌨️ 快捷键说明

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