jcifs.util
public class DES extends Object
and modified again by Michael B. Allen
Constructor Summary | |
---|---|
DES() | |
DES(byte[] key) |
Method Summary | |
---|---|
void | decrypt(byte[] cipherText, byte[] clearText) |
byte[] | decrypt(byte[] cipherText)
decrypts an array where the length must be a multiple of 8 |
void | encrypt(byte[] clearText, byte[] cipherText) |
byte[] | encrypt(byte[] clearText)
encrypts an array where the length must be a multiple of 8 |
static void | makeSMBKey(byte[] key7, byte[] key8) |
void | setKey(byte[] key) |
static void | spreadIntsToBytes(int[] inInts, int inOff, byte[] outBytes, int outOff, int intLen) |
static void | squashBytesToInts(byte[] inBytes, int inOff, int[] outInts, int outOff, int intLen) |