Changes

150 bytes removed ,  03:01, 12 January 2019
Line 17: Line 17:     
== Encryption ==  
 
== Encryption ==  
βˆ’
  βˆ’
The icon database is encrypted with AES-128-CBC. There's a two byte header:
  βˆ’
  βˆ’
byte 0: always zero.
  βˆ’
byte 1: aes key index
  βˆ’
  βˆ’
followed by encrypted data.
      
nn_idbe contains hardcoded keys in one 0x50 sized block (0x10 * 5), consisting of the 16-byte hardcoded IV, and 4 hardcoded 16-byte AES-128 keys.
 
nn_idbe contains hardcoded keys in one 0x50 sized block (0x10 * 5), consisting of the 16-byte hardcoded IV, and 4 hardcoded 16-byte AES-128 keys.
8

edits