摘要: public string AesEncrypt(string str, string key) { //加密 if (string.IsNullOrEmpty(str)) return null; Byte[] toEncryptArray = Encoding.UTF8.GetBytes(str); ... 阅读全文
posted @ 2018-09-13 14:30 Int64 阅读(203) 评论(0) 推荐(0) 编辑
摘要: int[] num = new int[10] { 3, 5, 7, 0, 1, 9, 4, 8, 2, 6 }; //冒泡排序 时间复杂度:最优O(n)最差O(n^2)平均O(n^2) 空间复杂度:O(1) 稳定性:稳定 for (int i = 0; i num[j + 1]) { ... 阅读全文
posted @ 2018-09-13 10:14 Int64 阅读(124) 评论(0) 推荐(0) 编辑