Not entirely sure on the encryption method, but am 99% sure its AES (the 1% unsure is me not seeing any refs to AES in the lv2 dump... ain't checked lv1 though)
Originally Posted by KDSBest
Games can use different keys for encryption, in kind of the same way as the PSPs. The SCE header must contain a Key ID, which is stored in appldr along with the actual key itself.
Did you read the wiki page I linked you to? That's the header which is on top of these encrypted "secure" files. If you go to 0x10 in a SELF and read the next 8 bytes as a long, that is the SCE header length and the offset of the beginning of the real ELF data. In fake SELFs the ELF data is decrypted, but in real SELFs its encrypted, you'd just have to try and decrypt the data from SCE header length to the end, and make sure the first 4 bytes are "7F 45 4C 46". If they are you decrypted it
The Key ID is probably the value at 0xC - 0xF, since this changes between different files, best way to find out is to wait until they do use different keys in appldr, then compare the SCE header to previous ones.
PSIDPatch - http://bit.ly/psidpatch
xRegistry Editor - http://bit.ly/xregistry
Playstation 3 Update Repo - http://bit.ly/iR2iXh
People, stop hating on Math & Co. If it wasn't for them we'd be nowhere, so what if they have their secrets? Remember, they could of just decided not to show anything