示例#1
0
文件: GOST.cs 项目: huaan21/crimson
		public static new GOST Create (string hashName)
		{
			object o = CryptoConfig.CreateFromName (hashName);
			// in case machine.config isn't configured to use any GOST implementation
			if (o == null) {
				o = new GOSTNative ();
			}
			return (GOST) o;
		}
示例#2
0
文件: GOST.cs 项目: symform/crimson
 public static new GOST Create(string hashName)
 {
     object o = CryptoConfig.CreateFromName (hashName);
     // in case machine.config isn't configured to use any GOST implementation
     if (o == null) {
         o = new GOSTNative ();
     }
     return (GOST) o;
 }