import hashlib password = ("Kangjun1234") md5_hash = hashlib.md5(password.encode()).hexdigest() print(md5_hash)