KOSASIH / SilkRoad

Statement not reachable on execution PYL-W0101
Anti-pattern
Critical
5 months ago5 months old
Unreachable code
 36return decrypted_data.decode()
 37
 38
 39def hash_password(password): 40    """Hashes the given password using a hashing algorithm."""
 41    # Hash the password using SHA256
 42    hashed_password = hashlib.sha256(password.encode()).hexdigest()