public class ThreeDesUtil extends Object
Modifier and Type | Field and Description |
---|---|
static byte[] |
DEFAULT_KEY |
Constructor and Description |
---|
ThreeDesUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
decrypt4HexStr(byte[] keys,
String data) |
static byte[] |
encrypt(byte[] keybyte,
byte[] src) |
static String |
encrypt2HexStr(byte[] keys,
String sourceData) |
static byte[] |
hex2byte(byte[] b) |
static void |
main(String[] args) |
public static byte[] encrypt(byte[] keybyte, byte[] src)
public static byte[] hex2byte(byte[] b)
public static void main(String[] args)
Copyright © 2022. All rights reserved.