(String text)
| 18 | public class Crypto { |
| 19 | |
| 20 | public static String md5(String text) { |
| 21 | try { |
| 22 | return Util.md5(text); |
| 23 | } catch (Exception e) { |
| 24 | e.printStackTrace(); |
| 25 | return ""; |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | public static String aes(String mode, boolean encrypt, String input, boolean inBase64, String key, String iv, boolean outBase64) { |
| 30 | try { |