All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----Acme.Crypto.CryptoUtils | +----Acme.Crypto.Cipher | +----Acme.Crypto.BlockCipher | +----Acme.Crypto.IdeaCipher
The basic algorithm came from "Applied Cryptography", Bruce Schneier, ISBN 0-471-59756-2.
This is surprisingly fast, for pure Java. On a SPARC 20, wrapped in Acme.Crypto.EncryptedOutputStream or Acme.Crypto.EncryptedInputStream, it does around 7500 bytes/second, slightly faster than Acme.Crypto.DesCipher.
The IDEA(tm) block cipher is covered by patents held by ETH and a Swiss company called Ascom-Tech AG. The Swiss patent number is PCT/CH91/00117, the European patent number is EP 0 482 154 B1, and the U.S. patent number is US005214703. IDEA(tm) is a trademark of Ascom-Tech AG. There is no license fee required for noncommercial use. Commercial users may obtain licensing details from Dieter Profos, Ascom Tech AG, Solothurn Lab, Postfach 151, 4502 Solothurn, Switzerland, Tel +41 65 242885, Fax +41 65 235761.
Fetch the software.
Fetch the entire Acme package.
public IdeaCipher(String keyStr)IdeaCipher
public IdeaCipher(byte key[])
public void setKey(byte key[])
public void encrypt(byte clearText[], int clearOff, byte cipherText[], int cipherOff)
public void decrypt(byte cipherText[], int cipherOff, byte clearText[], int clearOff)
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs