Skip to content

Configuration

clanner edited this page Apr 11, 2015 · 1 revision

On android the game has some local storage in /data/data/com.supercell.clashofclans

The user credentials are stored in shared_prefs/storage.xml, and are encrypted using SecurePreferences.java, the encryption key is the android device id ( a 16 digit hex number ).

the keys in the storage.xml dictionary are encrypted using aes-256-ecb, while the values are encrypted using aes-256-cbc, with iv fldsjfodasjifuds.

the values stored in storage.xml are:

  • Pass_PROD2 : the usertoken
  • High_PROD2 : the high 32bits of the userid
  • Low_PROD2 : the low 32bits of the userid
Clone this wiki locally