Spaces:
Sleeping
Sleeping
| from abc import ABC, abstractmethod | |
| class PasswordService(ABC): | |
| def hash(self, password: str) -> str: | |
| ... | |
| def verify(self, plain: str, hashed: str) -> bool: | |
| ... | |
| from abc import ABC, abstractmethod | |
| class PasswordService(ABC): | |
| def hash(self, password: str) -> str: | |
| ... | |
| def verify(self, plain: str, hashed: str) -> bool: | |
| ... | |