public class DES extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DESEDE_ENCRYPTION_SCHEME |
| Constructor and Description |
|---|
DES() |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String str) |
String |
encrypt(String clear) |
static void |
main(String[] args) |
public static final String DESEDE_ENCRYPTION_SCHEME
public String encrypt(String clear) throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException
public String decrypt(String str) throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.