예제 #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;
 }