Simple Encryption/Decryption in QWebView
I’m making a browser using QWebView and I want to achieve the following things:
Browser——->sends request to server——->server responds with simple encrypted data——->browser decrypts & tampers with the data and shows it.
I want this encryption for each and every request made by the browser, even for the images.
But the problem is I cannot figure out how to decrypt the received data before viewing it.
I haven’t found any signals or virtual functions that I could override.
I even tried changing the QNetworkAccessManager and then tried tampering with the QNetworkReply, but the QNetworkReply is readonly.
So has anyone got a solution to this?