Skip to content

Instantly share code, notes, and snippets.

View gorgiaxx's full-sized avatar

Gorgias gorgiaxx

View GitHub Profile
gorgiaxx /
Created January 12, 2019 07:03 — forked from DonnchaC/
Huaiwei unlock code generator - Based on the disassembler generated C code in
# -*- coding: utf-8 -*-
import os
import hashlib
import argparse
import binascii
import struct
def encrypt_v1(imei, key):