A tamper encoder in python.