public class DesEncrypter extends Object
Constructor and Description |
---|
DesEncrypter(Key key) |
Modifier and Type | Method and Description |
---|---|
String |
decrypt(String str) |
byte[] |
dencrypt(byte[] byteArray) |
byte[] |
encrypt(byte[] byteArray) |
String |
encrypt(String str) |
static DesEncrypter |
getInstance() |
public DesEncrypter(Key key) throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidKeyException
public static DesEncrypter getInstance()
public byte[] encrypt(byte[] byteArray)
public byte[] dencrypt(byte[] byteArray)
Copyright © GigaSpaces.