Answer the question
In order to leave comments, you need to log in
How to programmatically get the encryption used on the page?
This is a screenshot from Firefox.
How to get the selected line programmatically in Java or Python?
Answer the question
In order to leave comments, you need to log in
You could try this:
Lib/ssl.py
SSLSocket.cipher()
Returns a three-value tuple containing the name of the cipher being used, the version of the SSL protocol that defines its use, and the number of secret bits being used. If no connection has been established, returns None.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question