摘要:
IMVCPagesinterface IMVCPages { int GetItemsCount(); int GetPageSize(); int GetPagesCount(); /// /// 当前页面索引,用于分页... 阅读全文
posted @ 2014-08-11 21:22
倚舟笑沧海
阅读(723)
评论(0)
推荐(0)
摘要:
今天用System.Security.Cryptography加密。使用了AesManaged,报错:填充无效,无法移除。分析是解密失败,密文损坏,或者KEY,IV不正确。 using (AesManaged aesAlg = new AesManaged()){ aesAlg.Key = Encoding.Unicode.GetBytes("password"); aesAl... 阅读全文
posted @ 2014-08-11 21:17
倚舟笑沧海
阅读(712)
评论(0)
推荐(0)
摘要:
加密 static byte[] EncryptBytes_Aes(byte[] plainText, byte[] Key, byte[] IV) { // Check arguments. if (plainText == null || plainText.Length plaintext = new List(); ... 阅读全文
posted @ 2014-08-11 20:51
倚舟笑沧海
阅读(2652)
评论(0)
推荐(0)

浙公网安备 33010602011771号