예제 #1
0
 /// <summary>
 /// 初始化实例
 /// </summary>
 /// <param name="algId"></param>
 public Decryptor(EncryptionAlgorithm algId)
 {
     transformer = new DecryptTransformer(algId);
 }
예제 #2
0
 /// <summary>
 /// 初始化实例
 /// </summary>
 /// <param name="algId"></param>
 public SecurityFile(EncryptionAlgorithm algId)
 {
     Dec_Transformer = new DecryptTransformer(algId);
     Enc_Transformer = new EncryptTransformer(algId);
 }