Python code to store an AES key in a QR code