Difference between revisions of "Cfg:GenHashConsoleUnique"

From 3dbrew
Jump to navigation Jump to search
 
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x00030000]
+
| Header code [0x00030040]
 
|-
 
|-
 
| 1
 
| 1

Latest revision as of 06:39, 1 January 2015

Request[edit]

Index Word Description
0 Header code [0x00030040]
1 20bit application ID salt

Response[edit]

Index Word Description
0 Header code
1 Result code
2 Hash/"ID" lower word
3 Hash/"ID" upper word

Description[edit]

The output hash/"ID" is the the last two words of a SHA-256 hash. This hashes an u64 console-unique field followed by the u32 appID salt. The console-unique field is loaded internally from config blkID 0x90001, which is generated from the console-unique FriendCodeSeed.