This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # W.J. van der Laan 2017, distributed under MIT license | |
| import binascii | |
| import base64 | |
| import struct | |
| import json | |
| import os, sys | |
| from Crypto import Random | |
| from Crypto.Cipher import AES |