Ejemplo n.º 1
0
 public static String a(HashMap<String, String> hashMap) {
   StringBuffer stringBuffer = new StringBuffer();
   List<String> arrayList = new ArrayList();
   b h = b.h();
   for (Entry key : hashMap.entrySet()) {
     arrayList.add(key.getKey());
   }
   Collections.sort(arrayList, String.CASE_INSENSITIVE_ORDER);
   for (String str : arrayList) {
     stringBuffer.append((String) hashMap.get(str));
   }
   h.getClass();
   stringBuffer.append("c18c24046606b2e084edd37f9fe9f94d");
   return b(stringBuffer.toString());
 }
Ejemplo n.º 2
0
 public static HashMap<String, String> a(Map<String, String> map) {
   HashMap hashMap = new HashMap();
   b h = b.h();
   String c = c(SocialConstants.PARAM_APP_ID);
   h.getClass();
   hashMap.put(c, c("1uMqYWpHo3MoLH"));
   hashMap.put(c(f.c), c(com.xiaomi.e.a.f + a()));
   c = c(SportBaseInfo.VERSION);
   h.getClass();
   hashMap.put(c, c("1.0"));
   hashMap.put(c(f.e), c(Locale.getDefault().getLanguage()));
   if (map != null) {
     hashMap.putAll(map);
   }
   hashMap.put(f.h, a(hashMap));
   return hashMap;
 }