Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Decrypt psp .PGD

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
stephanehl
beginner
Posts: 23
Joined: Fri Dec 19, 2008 7:25 pm
Has thanked: 1 time

Decrypt psp .PGD

Post by stephanehl »

Please anyone can help me to decrypt this file with compression .PGD


Here is a sample.

Code: Select all

http://www.megaupload.com/?d=WFYOZ1YB
Please i really need your help.

Best Regards,
Mensinhl
alon
mega-veteran
mega-veteran
Posts: 163
Joined: Mon Nov 29, 2010 10:38 am
Has thanked: 32 times
Been thanked: 2 times

Re: Decrypt psp .PGD

Post by alon »

[PGD File header]:
Code:
0x00: 00 50 47 44 01 00 00 00 01 00 00 00 00 00 00 00 -> " PGD" and three bit fields that act as flags for version and encryption mode.
0x10: AES-128 bit hash key used for header decryption.
0x20: Generated hash from the 0x10 key.
0x30 - 0x50: Encrypted header of the PGD which when decrypted reveals a new hash key and four bit fields. The first is NULL, the second represents the decrypted data size, the third is the decrypting chunk size and the fourth is the data hash address.
0x60: File hash.
0x70: Hash generated from the sceIoIoctl key.
0x80: Encrypted hash generated from the sceIoIoctl key.
0x90: Data hash.
0xA0: Encrypted data hash.
Vash
mega-veteran
mega-veteran
Posts: 183
Joined: Fri Apr 29, 2005 2:39 pm
Has thanked: 5 times
Been thanked: 26 times

Re: Decrypt psp .PGD

Post by Vash »

load the game using JPCSP and flag in the option to save decrypted files or just install the game content so it will decrypt it for you...
ninuzzu
ultra-n00b
Posts: 1
Joined: Mon Jun 20, 2011 11:33 am

Re: Decrypt psp .PGD

Post by ninuzzu »

alon wrote:[PGD File header]:
Code:
0x00: 00 50 47 44 01 00 00 00 01 00 00 00 00 00 00 00 -> " PGD" and three bit fields that act as flags for version and encryption mode.
0x10: AES-128 bit hash key used for header decryption.
0x20: Generated hash from the 0x10 key.
0x30 - 0x50: Encrypted header of the PGD which when decrypted reveals a new hash key and four bit fields. The first is NULL, the second represents the decrypted data size, the third is the decrypting chunk size and the fourth is the data hash address.
0x60: File hash.
0x70: Hash generated from the sceIoIoctl key.
0x80: Encrypted hash generated from the sceIoIoctl key.
0x90: Data hash.
0xA0: Encrypted data hash.
using the info provided, can anyone write a bms script for this? thx
raykingnihong
mega-veteran
mega-veteran
Posts: 179
Joined: Sun Apr 06, 2014 8:06 pm
Has thanked: 216 times
Been thanked: 6 times

Re: Decrypt psp .PGD

Post by raykingnihong »

ninuzzu wrote:
alon wrote:[PGD File header]:
Code:
0x00: 00 50 47 44 01 00 00 00 01 00 00 00 00 00 00 00 -> " PGD" and three bit fields that act as flags for version and encryption mode.
0x10: AES-128 bit hash key used for header decryption.
0x20: Generated hash from the 0x10 key.
0x30 - 0x50: Encrypted header of the PGD which when decrypted reveals a new hash key and four bit fields. The first is NULL, the second represents the decrypted data size, the third is the decrypting chunk size and the fourth is the data hash address.
0x60: File hash.
0x70: Hash generated from the sceIoIoctl key.
0x80: Encrypted hash generated from the sceIoIoctl key.
0x90: Data hash.
0xA0: Encrypted data hash.
using the info provided, can anyone write a bms script for this? thx
Wish I had the great god resolve this issue, or the pointing direction
Post Reply