Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 486 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 486 Bytes

st-decrypt

Utility for encrypting/decrypting ST-Link firmware images. It is mostly based on decompiled code, which is not human-readable (and probably never was in the first place). Compiled archive can be found in dist folder.

Usage

Decrypt binary:

$ java -jar st_decrypt.jar --key "encryption key" -i firmware.bin  -o firmware_decrypted.bin

Encrypt binary:

$ java -jar st_decrypt.jar --key "encryption key" -i firmware.bin  -o firmware_encrypted.bin --encrypt