Skip to main content

Baza

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

Ejemplo de uso

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))

Metadata

Release files for baza-crypto 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for baza-crypto 0.2.0
File Size Uploaded Provenance
baza_crypto-0.2.0.tar.gz 4.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for baza-crypto 0.2.0
File Interpreter ABI Platform
baza_crypto-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / baza_crypto-0.2.0.tar.gz

Download URL baza_crypto-0.2.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4dfac6f26d19a0ff57e3c97d3a859355c7244319fa7b4614f58ca7dfbe6f2a46
BLAKE2b-256 checksum
How to use checksums
12066eb154ddc1a0e02dcaa34b57b273a185a88153071fff0f352c36cab5f165
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / baza_crypto-0.2.0-py3-none-any.whl

Download URL baza_crypto-0.2.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f53f8ab217ce28e015b1be5c2a6a9e6e45d5efa5489d6f26bd54d24da2ff492d
BLAKE2b-256 checksum
How to use checksums
9440b29681a8b16ce872af2c3742d3faa209dcc01b4f9e9593b87434d0ede5b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for baza-crypto 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page