Загрузить файлы в «venv/Lib/site-packages/bcrypt»
This commit is contained in:
43
venv/Lib/site-packages/bcrypt/__init__.py
Normal file
43
venv/Lib/site-packages/bcrypt/__init__.py
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
from ._bcrypt import (
|
||||||
|
__author__,
|
||||||
|
__copyright__,
|
||||||
|
__email__,
|
||||||
|
__license__,
|
||||||
|
__summary__,
|
||||||
|
__title__,
|
||||||
|
__uri__,
|
||||||
|
checkpw,
|
||||||
|
gensalt,
|
||||||
|
hashpw,
|
||||||
|
kdf,
|
||||||
|
)
|
||||||
|
from ._bcrypt import (
|
||||||
|
__version_ex__ as __version__,
|
||||||
|
)
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"__author__",
|
||||||
|
"__copyright__",
|
||||||
|
"__email__",
|
||||||
|
"__license__",
|
||||||
|
"__summary__",
|
||||||
|
"__title__",
|
||||||
|
"__uri__",
|
||||||
|
"__version__",
|
||||||
|
"checkpw",
|
||||||
|
"gensalt",
|
||||||
|
"hashpw",
|
||||||
|
"kdf",
|
||||||
|
]
|
||||||
10
venv/Lib/site-packages/bcrypt/__init__.pyi
Normal file
10
venv/Lib/site-packages/bcrypt/__init__.pyi
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
def gensalt(rounds: int = 12, prefix: bytes = b"2b") -> bytes: ...
|
||||||
|
def hashpw(password: bytes, salt: bytes) -> bytes: ...
|
||||||
|
def checkpw(password: bytes, hashed_password: bytes) -> bool: ...
|
||||||
|
def kdf(
|
||||||
|
password: bytes,
|
||||||
|
salt: bytes,
|
||||||
|
desired_key_bytes: int,
|
||||||
|
rounds: int,
|
||||||
|
ignore_few_rounds: bool = False,
|
||||||
|
) -> bytes: ...
|
||||||
BIN
venv/Lib/site-packages/bcrypt/_bcrypt.pyd
Normal file
BIN
venv/Lib/site-packages/bcrypt/_bcrypt.pyd
Normal file
Binary file not shown.
BIN
venv/Lib/site-packages/bcrypt/py.typed
Normal file
BIN
venv/Lib/site-packages/bcrypt/py.typed
Normal file
Binary file not shown.
Reference in New Issue
Block a user