package
0.0.0-20181009085715-d60a1a227b92
Repository: https://github.com/lightkool/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.