Skip to content

Instantly share code, notes, and snippets.

Avatar

Gorgias gorgiaxx

View GitHub Profile
@gorgiaxx
gorgiaxx / huaiwei-unlock.py
Created Jan 12, 2019 — forked from DonnchaC/huaiwei-unlock.py
Huaiwei unlock code generator - Based on the disassembler generated C code in https://github.com/forth32/huaweicalc
View huaiwei-unlock.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import hashlib
import argparse
import binascii
import struct
def encrypt_v1(imei, key):