Difference between revisions of "Enc"

From Vita Development Wiki
Jump to navigation Jump to search
(Created page with " {| class="wikitable" |- ! Offset !! Size !! Description |- | 0x0 || 0x4 || <code>0x64B2C8E5</code> magic |- | 0x4 || 0x4 || Offset to data |- | 0x8 || 0x4 || Unknown |- | 0xC...")
 
Line 8: Line 8:
 
| 0x4 || 0x4 || Offset to data
 
| 0x4 || 0x4 || Offset to data
 
|-
 
|-
| 0x8 || 0x4 || Unknown
+
| 0x8 || 0x4 || Size of plaintext version string, 0 on 0.931, 0x10 on other
 
|-
 
|-
 
| 0xC || 0x4 || Unknown/Zero
 
| 0xC || 0x4 || Unknown/Zero
Line 16: Line 16:
 
| 0x14 || 0xC || Unknown
 
| 0x14 || 0xC || Unknown
 
|-
 
|-
| 0x20 || 0x20 || Hash ?
+
| 0x20 || 0x20 || sha256 hash of decrypted body
 
|-
 
|-
| 0x40 || 0x10 || Version in ASCII
+
| 0x40 || 0x10 || Version in ASCII, not present on 0.931
 
|-
 
|-
| 0x50 || 0x90 || Zero
+
| 0x50 (0x40 on 0.931) || 0x90 || Zero
 
|-
 
|-
| 0xE0 || Until Data || Encrypted Header
+
| 0xE0 (0xD0 on 0.931) || Until Data || Encrypted Header
 
|-
 
|-
 
|}
 
|}

Revision as of 13:51, 19 June 2018

Offset Size Description
0x0 0x4 0x64B2C8E5 magic
0x4 0x4 Offset to data
0x8 0x4 Size of plaintext version string, 0 on 0.931, 0x10 on other
0xC 0x4 Unknown/Zero
0x10 0x4 Data size
0x14 0xC Unknown
0x20 0x20 sha256 hash of decrypted body
0x40 0x10 Version in ASCII, not present on 0.931
0x50 (0x40 on 0.931) 0x90 Zero
0xE0 (0xD0 on 0.931) Until Data Encrypted Header