This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import hashlib | |
import sys | |
import tqdm # Used to report progress during decryption | |
if len(sys.argv) not in (2,3): | |
print("Usage: dcupdate.py enciphered_file [deciphered_file]") | |
print("Deciphers images used by Allwinner T8-based car radio headunits") | |
sys.exit(0) |