While many are patiently awaiting further details on the
PS4 6.20 Kxploit in development, today PlayStation 4 scene developers
@RedEyeX32 via
@zecoxao shared Cipher and Hasher
PS4 Backup And Restore (BAR) Kernel Keys while
3226:2143 (aka
IDC) documented containers referred to as
Envelope Files used in encrypting and signing messages.
Based on the current findings, they were likely introduced around PS4 Firmware FW 3.00 (>2.56 <=3.50), noting that the messages are encrypted using AES128 in CBC mode and signed using a public key.
Download:
BAR-master.zip /
GIT /
PS4 Env Decryptor
Those interested in learning more about the encryption and public keys can check out the related documentation via
PSDevWiki.com.

Backup And Restore Keys (BAR)
*Cipher:
Code:
79 c8 cc c8 89 a1 54 0d 4f 2e 27 bb 61 4f d6 53
*Hasher:
Code:
cd a1 33 a1 0e c8 f5 25 98 22 23 f5 86 1f 02 00
And from the
README.md:
BAR
backup and restore decrypt (and encrypt?) utility
Credits
- RedEye32 (for the structs)
- Zer0xFF (for some improvement in code)
- PixelButts (for testing)
- idc (for the hasher key correct size)
- and to anonymous (for everything you did and have done in the past)
Usage
compile it and simply place it near the archives and run it. it'll produce some blobs. support for bigger blobs is in process...
decrypt the backups made with the backup utility
very similar to what Kakaroto has done on ps3 with his tool
...