|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object egovframework.rfc3.common.crypt.SEED
public class SEED
S-box table
Constructor Summary | |
---|---|
SEED()
|
Method Summary | |
---|---|
static java.lang.String |
byteArrayToHex(byte[] ba)
|
static java.lang.String |
Decrypt(java.lang.String key,
java.lang.String data)
|
static java.lang.String |
Encrypt(java.lang.String key,
java.lang.String data)
|
static byte[] |
hexToByteArray(java.lang.String hex)
|
static void |
SeedDecrypt(byte[] pbData,
int[] pdwRoundKey,
byte[] outData)
SEED decrtyption function |
static void |
SeedEncrypt(byte[] pbData,
int[] pdwRoundKey,
byte[] outData)
SEED encrtyption function |
static void |
SeedRoundKey(int[] pdwRoundKey,
byte[] pbUserKey)
Key Schedule |
static java.lang.String |
stringToHex(java.lang.String s)
Example code |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SEED()
Method Detail |
---|
public static void SeedEncrypt(byte[] pbData, int[] pdwRoundKey, byte[] outData)
public static void SeedDecrypt(byte[] pbData, int[] pdwRoundKey, byte[] outData)
public static void SeedRoundKey(int[] pdwRoundKey, byte[] pbUserKey)
public static java.lang.String stringToHex(java.lang.String s)
public static byte[] hexToByteArray(java.lang.String hex)
public static java.lang.String byteArrayToHex(byte[] ba)
public static java.lang.String Encrypt(java.lang.String key, java.lang.String data)
public static java.lang.String Decrypt(java.lang.String key, java.lang.String data)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |