wtanaka.praya.gale
Class CryptBlockFilter
java.lang.Object
|
+--wtanaka.praya.gale.CryptBlockFilter
- public class CryptBlockFilter
- extends java.lang.Object
An implementation of 3DES.
Return to
or the Praya Homepage
- Version:
- $Name: $ $Date: 2001/09/30 21:14:52 $
- Author:
- $Author: wtanaka $
|
Method Summary |
long |
filter(long l)
|
private static long |
getbit(long l,
int i)
|
long |
getIV()
|
private void |
loadKey(long l,
int i,
boolean flag)
|
private static long |
permute(long l,
int[] ai)
|
private static long |
setbit(long l,
int i,
long l1)
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
schedule
private long[][] schedule
iv
private long iv
cbcstate
private long cbcstate
encrypt
private boolean encrypt
start
private static final int[] start
keyxform
private static final int[] keyxform
keyshift
private static final int[] keyshift
compress
private static final int[] compress
expand
private static final int[] expand
sbox
private static final int[][][] sbox
pbox
private static final int[] pbox
finish
private static final int[] finish
CryptBlockFilter
public CryptBlockFilter(byte[] keys,
byte[] l,
boolean flag)
getIV
public final long getIV()
loadKey
private void loadKey(long l,
int i,
boolean flag)
filter
public long filter(long l)
getbit
private static long getbit(long l,
int i)
setbit
private static long setbit(long l,
int i,
long l1)
permute
private static long permute(long l,
int[] ai)