摘要:
1 /// <summary> 2 /// Rijndael算法 3 /// </summary> 4 public class RijndaelCrypto : ICrypto 5 { 6 /// <summary> 7 /// Key值 8 /// </summary> 9 private byte[] _key;10 /// <summary>11 /// IV向量12 /// </summary>13 private byt... 阅读全文
摘要:
DES,Rijndael,BouncyCastle 1 /// <summary> 2 /// 加密,解密 接口 3 /// </summary> 4 public interface ICrypto 5 { 6 /// <summary> 7 /// 加密 8 /// </summary> 9 /// <param name="bytes"></param>10 /// <returns></returns>11 byte[] Encrypt(byte[] byte... 阅读全文