Verify Redis's master-slave replication and capture the experimental process
Copying a configuration file
Change the port and associated master configuration for slave
Master-slave replication test
What is the purpose of studying the "number of times" nonce in OAuth? How to use? Familiarize yourself with the whole process of OAuth
The nonce, a random confusing string, is used only once for the number. Nonce is used to defend against replay attacks and select plaintext attacks.
Use:
A nonce of random numbers generated by the server, which is sent back to the client the first time the client requests the page;
The client gets the Nonce, concatenates it with the user's password and makes non-reversible encryption (MD5, SHA1, and so on), and sends the encrypted string back to the server with the username, Nonce, and encryption algorithm name;
The server uses the received username to search for the password, encrypts it with the same algorithm that the client uses, and then compares it to the encrypted string that the client submits, if the two strings are consistent, indicating that the user is valid.
This solves the problem that the user password plaintext is stolen, even if the attacker knows the algorithm name and nonce can not decrypt the password.