| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,16 @@ | ||
| from typing import Any | ||
| from binascii import hexlify as hexlify | ||
| from typing import Final, Literal, overload | ||
|
|
||
| from passlib.hash import nthash as nthash | ||
| from passlib.handlers.windows import nthash as nthash | ||
|
|
||
| raw_nthash: Any | ||
| LM_MAGIC: Final[bytes] | ||
| raw_nthash = nthash.raw_nthash | ||
|
|
||
| def raw_lmhash(secret, encoding: str = "ascii", hex: bool = False): ... | ||
| @overload | ||
| def raw_lmhash(secret: str | bytes, encoding: str = "ascii", hex: Literal[False] = False) -> bytes: ... | ||
| @overload | ||
| def raw_lmhash(secret: str | bytes, encoding: str, hex: Literal[True]) -> str: ... | ||
| @overload | ||
| def raw_lmhash(secret: str | bytes, *, hex: Literal[True]) -> str: ... | ||
|
|
||
| __all__ = ["nthash", "raw_lmhash", "raw_nthash"] |
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.