This is a straight translation of the Python implementation of EvilTransform (https://github.com/googollee/eviltransform).
Jane Macfarlane
MIT