C# to Java DES encryption
问题 Trying to create java class which will encrypt and decrypt as like C# code in below. Below is my code for C#, I need to convert it to Java. Can someone help me how to do it? I've been doing this for almost 2 days yet can't find any solutions on how to convert it. I am new to crypto. Note - It seems C# code used ACME libraries. But in my java, i should not use ACME jar files. public static string EncryptBase64(string key, string clearText) { if (key.Length > 8) key = key.Substring(0, 8); byte[