1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
from trac.core import Component, Interface
class IPasswordHashMethod(Interface):
def generate_hash(user: str, password: str) -> str: ...
def check_hash(user: str, password: str, hash: str) -> bool: ...
class HtPasswdHashMethod(Component):
def generate_hash(self, user: str, password: str) -> str: ...
def check_hash(self, user: str, password: str, hash: str) -> bool: ...
class HtDigestHashMethod(Component):
def generate_hash(self, user: str, password: str) -> str: ...
def check_hash(self, user: str, password: str, hash: str) -> bool: ...
def htdigest(user: str, realm: str, password: str) -> str: ...
def generate_hash(password: str, method: str) -> str: ...
def check_hash(password: str, the_hash: str) -> bool: ...
def _sha_digest(password: str) -> str: ...
def _passlib_generate_hash(password: str, method: str) -> str: ...
def _passlib_check_hash(password: str, the_hash: str) -> bool: ...
def _crypt_generate_hash(password: str, method: str) -> str: ...
def _crypt_check_hash(password: str, the_hash: str) -> bool: ...
def _mksalt(method: str) -> str: ...
def _unavai_error(): ...
def _unavai_generate_hash(password: str, method: str) -> str: ...
def _unavai_check_hash(password: str, the_hash: str) -> bool: ...
|