Files

8 lines
246 B
Python

from app.core.security import verify_password
secret = "esp32_secret_key_2024"
stored_hash = "$2b$12$2dm4v2h2GyzL7MrWG9zOWuMmcUoJgkIWZi34xgv3zfTpiGe2ajJEm"
result = verify_password(secret, stored_hash)
print(f"Password verification: {result}")