def decrypt(encryptedString, privateKey):
    encryptedString = binascii.unhexlify(encryptedString)
pathToOpenSSL = 'C:\\pysrc\\openssl\\openssl.exe'
openssl = Popen([pathToOpenSSL, 'enc', '-aes-128-cbc', '-d', '-nosalt',
    '-nopad', '-K', privateKey.encode('hex'), '-iv', privateKey.encode(
    'hex')], stdin=PIPE, stdout=PIPE)
decryptedString = openssl.communicate(encryptedString)[0].replace('\x04', '')
Доступ к php $_SESSION из python (wsgi) — возможно ли это?