mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-21 05:21:46 -07:00
[ci skip] fix hex method in raw format
This commit is contained in:
parent
9cc277a60a
commit
6f70ce8ce6
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ def mysql_sha256_password_hash(password, salt):
|
|||
iteration = 1000 * count
|
||||
|
||||
digest = _sha256_digest(password, salt, iteration)
|
||||
return "$A${0:>03}${1}{2}".format(count, salt, digest).encode().hex().upper()
|
||||
return "$A${0:>03}${1}{2}".format(count, salt, digest)
|
||||
|
||||
|
||||
def mysql_sha256_password_hash_hex(password, salt):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue