Talk:Keys: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
Line 14: Line 14:
* algo is sha1 (name+0xsuffix) where name+suffix is all ascii
* algo is sha1 (name+0xsuffix) where name+suffix is all ascii


== PSVITA _M (module?) exports ==
== PSVITA noname exports ==


<pre>
<pre>

Revision as of 10:57, 16 February 2017

Database Reconstruction Magic

BEBAFECA (or CAFEBABE byteswapped)

PSP/PSP2/ARM NID Suffixes

PS3 noname exports

bc5eba9e042504905b64274994d9c41f
  • algo is sha1 (name+0xsuffix) where name+suffix is all ascii

PSVITA noname exports

c1b886af5c31846467e7ba5e2cffd64a
  • algo is sha1(name + suffix) where name + suffix is hex

PFS HMAC Usage (Vitashell Example)

  • input : echo -n '706673534b4b657902000000000000008cf037f28ea485a53610a0e2b0c57c4d704bfdae23f27bdb82be52bbcee7220f' | xxd -r -p | openssl dgst -sha256 -mac hmac -macopt hexkey:8c5d3a4b9d9bf4b453bce6cdc34331d8
  • output : dad6825c22e67e45ed29ea8d16d32b6bc16d513210007df4cb23e723e4494bca

PFS CBC Usage (Vitashell Example)

  • input : openssl aes-128-cbc -d -in encrypted_key.bin -out key.bin -nosalt -K 00298CDF4428E72C8785DAE0923C60BD -iv 8CF037F28EA485A53610A0E2B0C57C4D -p -nopad
  • output : 42B015D142B0F35F8251607A0AE87A0F