Package 

Class AFCksmManager

    • Method Summary

      Modifier and Type Method Description
      static String getCheckSum(Context context, long timestamp) Checksum structure:Checksum contains 8 flags,FIRST BLOCK1 - check if "android.telephony.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCheckSum

        @Nullable() static String getCheckSum(Context context, long timestamp)

        Checksum structure:Checksum contains 8 flags,FIRST BLOCK1 - check if "android.telephony.TelephonyManager" class exists2 - package name has been extracted from Context3 - package name has been extracted from process ID4 - package name has been extracted from Manifest

        SECOND BLOCK5 - check if "android.telephony.TelephonyManager" class exists6 - check if "android.os.BatteryManager" class exists7 - check if "android.hardware.Sensor" class exists8 - check if "android.net.Uri" class exists

        THIRD BLOCK (setSanityFlag)1 - replace char at 7 with hex represintation of summed timestamp digits2 - replace char at 30 with hex sum of char at 0 and char at 1

        Every block will be converted from binary to hexadecimaland stored in specific index into the checksum