package
2.1.0-rc.2+incompatible
Repository: https://github.com/coderushing/tidb.git
Documentation: pkg.go.dev
# Functions
CheckScrambledPassword check scrambled password received from client.
DecodePassword converts hex string password without prefix '*' to byte array.
EncodePassword converts plaintext password to hashed hex string.
Sha1Hash is an util function to calculate sha1 hash.
# Structs
UserIdentity represents username and hostname.