using system;
using system.security.cryptography;
using system.io;
public class rijndael
;private byte m_vector = ;
//properties
public string infilename
set}
public string outfilename
set}
public byte key
set}
public byte vector
set}
//ctor
public rijndael()
public rijndael(string infile,string outfile)
//inte***ce methods
public void encrypt()
src.close();
outfile.close();
}catch (exception)}}
public void decrypt()
src.close();
outfile.close();
}catch (exception)}}
}
乙個檔案加密類
using system using system.io using system.security.cryptography using system.xml namespace hxh.api this.iv new byte get the key and iv.讀取加密檔案到流 public...
通用加密類
通用加密解密類 using system using system.io using system.text using system.security.cryptography using system.web public class desencryptor region 私有成員 輸入字串 ...
對稱加密類
using system using system.text using system.security.cryptography using system.io using system.linq 摘自 region 對稱加密類 對稱加密解密類 public static class symmet...