Pythonified the code for 128 bit keys.