Documentation Home
MySQL Internals Manual


14.3.6 SHA256

Authentication::SHA256:
Name

sha256_password

Requires

CLIENT_PLUGIN_AUTH

If the password is non-empty SHA256 auth method

  • XORs the clients password with the scramble buffers content

  • RSA encrypts that with the server's public key using RSA_PKCS1_OAEP_PADDING as padding

Empty passwords are not hashed, but sent as empty string.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.