aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/bcrypt
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/bcrypt')
-rw-r--r--.venv/lib/python3.12/site-packages/bcrypt/__init__.py43
-rw-r--r--.venv/lib/python3.12/site-packages/bcrypt/__init__.pyi10
-rwxr-xr-x.venv/lib/python3.12/site-packages/bcrypt/_bcrypt.abi3.sobin0 -> 644928 bytes
-rw-r--r--.venv/lib/python3.12/site-packages/bcrypt/py.typed0
4 files changed, 53 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/bcrypt/__init__.py b/.venv/lib/python3.12/site-packages/bcrypt/__init__.py
new file mode 100644
index 00000000..81a92fd4
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/bcrypt/__init__.py
@@ -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",
+]
diff --git a/.venv/lib/python3.12/site-packages/bcrypt/__init__.pyi b/.venv/lib/python3.12/site-packages/bcrypt/__init__.pyi
new file mode 100644
index 00000000..12e4a2ef
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/bcrypt/__init__.pyi
@@ -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: ...
diff --git a/.venv/lib/python3.12/site-packages/bcrypt/_bcrypt.abi3.so b/.venv/lib/python3.12/site-packages/bcrypt/_bcrypt.abi3.so
new file mode 100755
index 00000000..ae9f55b6
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/bcrypt/_bcrypt.abi3.so
Binary files differ
diff --git a/.venv/lib/python3.12/site-packages/bcrypt/py.typed b/.venv/lib/python3.12/site-packages/bcrypt/py.typed
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/bcrypt/py.typed