Skip to content

Instantly share code, notes, and snippets.

View sindastra's full-sized avatar
🛌
Very ill

Sindastra sindastra

🛌
Very ill
View GitHub Profile
@DonnchaC
DonnchaC / huaiwei-unlock.py
Created September 24, 2016 19:27
Huaiwei unlock code generator - Based on the disassembler generated C code in https://github.com/forth32/huaweicalc
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import hashlib
import argparse
import binascii
import struct
def encrypt_v1(imei, key):