Cfg:GenHashConsoleUnique: Difference between revisions

Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x0003....] |- | 1 | 20bit application ID salt |} =Response= {| class="wikitable"..."
 
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
|-
|-
| 0
| 0
| Header code [0x0003....]
| Header code [0x00030040]
|-
|-
| 1
| 1
Line 32: Line 32:


=Description=
=Description=
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 a ConfigInfoBlk, which is generated from the console-unique FriendCodeSeed.
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_Savegame|config]] blkID 0x90001, which is generated from the console-unique FriendCodeSeed.