public class DES extends Object
and modified again by Michael B. Allen
| 修飾子とタイプ | メソッドと説明 |
|---|---|
byte[] |
decrypt(byte[] cipherText)
decrypts an array where the length must be a multiple of 8
|
void |
decrypt(byte[] cipherText,
byte[] clearText) |
byte[] |
encrypt(byte[] clearText)
encrypts an array where the length must be a multiple of 8
|
void |
encrypt(byte[] clearText,
byte[] cipherText) |
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) |
public static void makeSMBKey(byte[] key7,
byte[] key8)
public void setKey(byte[] key)
public void encrypt(byte[] clearText,
byte[] cipherText)
public void decrypt(byte[] cipherText,
byte[] clearText)
public byte[] encrypt(byte[] clearText)
public byte[] decrypt(byte[] cipherText)
public static void squashBytesToInts(byte[] inBytes,
int inOff,
int[] outInts,
int outOff,
int intLen)
public static void spreadIntsToBytes(int[] inInts,
int inOff,
byte[] outBytes,
int outOff,
int intLen)
Copyright © 2016. All rights reserved.