jb.java 2.76 KB
import com.google.android.gms.internal.zzah;
import com.google.android.gms.internal.zzai;
import com.google.android.gms.internal.zzak.zza;
import com.google.android.gms.tagmanager.zzbo;
import com.google.android.gms.tagmanager.zzdl;
import com.google.android.gms.tagmanager.zzk;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Map;

final class jb
  extends iw
{
  private static final String b = zzah.zzdO.toString();
  private static final String c = zzai.zzfI.toString();
  private static final String d = zzai.zzfy.toString();
  private static final String e = zzai.zzhH.toString();
  
  public jb()
  {
    super(b, new String[] { c });
  }
  
  public final boolean zzQb()
  {
    return true;
  }
  
  public final zzak.zza zzZ(Map<String, zzak.zza> paramMap)
  {
    Object localObject1 = (zzak.zza)paramMap.get(c);
    if ((localObject1 == null) || (localObject1 == zzdl.zzRR())) {
      return zzdl.zzRR();
    }
    Object localObject2 = zzdl.zze((zzak.zza)localObject1);
    localObject1 = (zzak.zza)paramMap.get(d);
    if (localObject1 == null)
    {
      localObject1 = "MD5";
      paramMap = (zzak.zza)paramMap.get(e);
      if (paramMap != null) {
        break label118;
      }
      paramMap = "text";
      label73:
      if (!"text".equals(paramMap)) {
        break label126;
      }
      paramMap = ((String)localObject2).getBytes();
    }
    for (;;)
    {
      try
      {
        localObject2 = MessageDigest.getInstance((String)localObject1);
        ((MessageDigest)localObject2).update(paramMap);
        paramMap = zzdl.zzR(zzk.zzq(((MessageDigest)localObject2).digest()));
        return paramMap;
      }
      catch (NoSuchAlgorithmException paramMap)
      {
        label118:
        label126:
        paramMap = String.valueOf(localObject1);
        if (paramMap.length() == 0) {
          break label211;
        }
      }
      localObject1 = zzdl.zze((zzak.zza)localObject1);
      break;
      paramMap = zzdl.zze(paramMap);
      break label73;
      if ("base16".equals(paramMap))
      {
        paramMap = zzk.zzgR((String)localObject2);
      }
      else
      {
        paramMap = String.valueOf(paramMap);
        if (paramMap.length() != 0) {}
        for (paramMap = "Hash: unknown input format: ".concat(paramMap);; paramMap = new String("Hash: unknown input format: "))
        {
          zzbo.e(paramMap);
          return zzdl.zzRR();
        }
      }
    }
    label211:
    for (paramMap = "Hash: unknown algorithm: ".concat(paramMap);; paramMap = new String("Hash: unknown algorithm: "))
    {
      zzbo.e(paramMap);
      return zzdl.zzRR();
    }
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/jb.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */