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

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