Metadata-Version: 2.4
Name: baza-crypto
Version: 0.2.0
Summary: Librería de encriptación y hashing personalizable en Python
Home-page: https://github.com/Alex-Dev-Beep/baza
Author: Artemio Baza
Author-email: alexdevmega@proton.me
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cryptography>=41.0
Requires-Dist: argon2-cffi>=21.3
Requires-Dist: bcrypt>=4.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Baza

Baza es una librería de Python para **encriptación y hashing flexible**.

## Ejemplo de uso

```python
from baza import SymmetricCrypto, AsymmetricCrypto, hash_data, verify_hash

# --- Hashing ---
h = hash_data("mi_password", "argon2")
print("Hash:", h)
print("Verificada:", verify_hash(h, "mi_password", "argon2"))

# --- Encriptación simétrica ---
crypto = SymmetricCrypto()
token = crypto.encrypt(b"Hola mundo")
print("Encriptado:", token)
print("Desencriptado:", crypto.decrypt(token))

# --- Encriptación asimétrica ---
asym = AsymmetricCrypto()
enc = asym.encrypt(b"Mensaje secreto")
print("Encriptado:", enc)
print("Desencriptado:", asym.decrypt(enc))
