electric.util.crypto
Class DESEncoding
java.lang.Object
electric.util.crypto.DESEncoding
- public class DESEncoding
- extends java.lang.Object
DESEncoding
- Author:
- webMethods
Method Summary |
byte[] |
decrypt(byte[] in)
|
protected void |
desFunc(int[] wKey,
byte[] in,
int inOff,
byte[] out,
int outOff)
|
byte[] |
encrypt(byte[] in)
|
static int |
getBlockSize()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLOCK_SIZE
protected static final int BLOCK_SIZE
- See Also:
- Constant Field Values
DESEncoding
public DESEncoding(byte[] key)
- Parameters:
key
-
getBlockSize
public static int getBlockSize()
- Returns:
encrypt
public byte[] encrypt(byte[] in)
- Parameters:
in
-
- Returns:
decrypt
public byte[] decrypt(byte[] in)
- Parameters:
in
-
- Returns:
desFunc
protected void desFunc(int[] wKey,
byte[] in,
int inOff,
byte[] out,
int outOff)
- Parameters:
wKey
- in
- inOff
- out
- outOff
-
copyright© 2001-2004 by webMethods All Rights Reserved.