我正在开发一个加密项目,我正在做一个简单的测试,它从终端获取一个文件名并运行我的加密。我有以下的加密代码,但我得到以下分段错误: 串平原(reinterpret_cast的: terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null n
我一直在环顾网络,发现很多有用的东西在这里特别是,我很接近,但我不能完全弄清楚解密字节。 Decrypt不工作,因为我在字节数组中发送函数负值? import javax.xml.bind.DatatypeConverter;
public class RC4_Main {
public static int[] myKSA(String key) {
int j = 0, tem