Exemple #1
0
 public static new SHA224 Create(string hashName)
 {
     object o = CryptoConfig.CreateFromName (hashName);
     // in case machine.config isn't configured to use any SHA224 implementation
     if (o == null) {
         o = new SHA224Native ();
     }
     return (SHA224) o;
 }
Exemple #2
0
        public static new SHA224 Create(string hashName)
        {
            object o = CryptoConfig.CreateFromName(hashName);

            // in case machine.config isn't configured to use any SHA224 implementation
            if (o == null)
            {
                o = new SHA224Native();
            }
            return((SHA224)o);
        }