electric.util.crypto
Class DESEncoding

java.lang.Object
  extended byelectric.util.crypto.DESEncoding

public class DESEncoding
extends java.lang.Object

DESEncoding

Author:
webMethods

Field Summary
protected static int BLOCK_SIZE
           
 
Constructor Summary
DESEncoding(byte[] key)
           
 
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
 

Field Detail

BLOCK_SIZE

protected static final int BLOCK_SIZE
See Also:
Constant Field Values
Constructor Detail

DESEncoding

public DESEncoding(byte[] key)
Parameters:
key -
Method Detail

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.