import hashlib


class UserHashPassword:

    @staticmethod
    def hash_password(password: str):
        hash_control = hashlib.sha256()
        hash_control.update(bytes(password, "utf-8"))
        return hash_control.hexdigest()

e3bb7f967d45b53551f01ed11b1c143a94a846e4
<mask token>

<mask token>


class UserHashPassword:
    <mask token>

<mask token>


class UserHashPassword:

    @staticmethod
    def hash_password(password: str):
        hash_control = hashlib.sha256()
        hash_control.update(bytes(password, 'utf-8'))
        return hash_control.hexdigest()

import hashlib


class UserHashPassword:

    @staticmethod
    def hash_password(password: str):
        hash_control = hashlib.sha256()
        hash_control.update(bytes(password, 'utf-8'))
        return hash_control.hexdigest()

import hashlib


class UserHashPassword:

    @staticmethod
    def hash_password(password: str):
        hash_control = hashlib.sha256()
        hash_control.update(bytes(password, "utf-8"))
        return hash_control.hexdigest()
