TLS/SSL handshake
The combination of Diffie-Hellman and the use of ephemeral session keys are what enables “Forward Secrecy”: even if an attacker gains access to the server’s private key they are…
The combination of Diffie-Hellman and the use of ephemeral session keys are what enables “Forward Secrecy”: even if an attacker gains access to the server’s private key they are…
Digital Signature: how it works Digital certificate is one use cases of digital signature. To create the digital signature, the CA generates a message digest from the certificate, encrypts…
I like to use gnome-flashback mode which is like old gnome2 desktop, but I keep on forgetting this how to set the default login session, so put notes here. sudo…
Quota from a good article from http://www.cprogramming.com/c++11/c++11-lambda-closures.html It turns out that the way lambdas are implemented is by creating a small class; this class overloads the operator(), so that it…
Found a good one to explain: How @staticmethod and @classmethod are different. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 class Kls(object): no_inst…