private static AesCryptoServiceProvider GetAesCryptoServiceProvider(string password) { AesCryptoServiceProvider sa = new AesCryptoServiceProvider(); FishCryptoService.SetKeyIV(sa, password); return(sa); }
private static TripleDESCryptoServiceProvider GetTripleDESCryptoServiceProvider(string password) { TripleDESCryptoServiceProvider sa = new TripleDESCryptoServiceProvider(); FishCryptoService.SetKeyIV(sa, password); return(sa); }