public final class Crypto extends Object
| Modifier and Type | Field and Description |
|---|---|
private Cipher |
decrypter |
private Cipher |
encrypter |
| Constructor and Description |
|---|
Crypto(String algorythm,
String key,
String keyType,
int maxKeyLength) |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String input) |
String |
encrypt(String input) |
private static String |
prepareKey(String key,
int maxKeyLength) |
Copyright © 2019. All rights reserved.