Skip to main content

Modulo de encriptacion extremo a extremo (E2EE) usando RSA y AES-GCM.

Project description

zch-e2ee

[Read English version]

Módulo de Python de alto nivel para encriptación de extremo a extremo (E2EE) y firmas digitales.

Características principales

  • Cifrado Asimétrico RSA: Encriptación híbrida usando RSA-2048 y AES-GCM.
  • Cifrado Simétrico por Contraseña: Cifrado fuerte derivando claves con Scrypt + AES-GCM.
  • Acuerdo de claves elípticas: Intercambio de claves seguro Diffie-Hellman sobre curvas elípticas (ECDH X25519).
  • Firmas digitales: Autenticación y no repudio mediante firmas RSA-PSS.
  • Compresión automática: Integración transparente de compresión zlib antes de cifrar.
  • Cifrado de archivos: Soporte para encriptar cualquier tipo de archivo usando claves o contraseñas.

Instalación

pip install zch-e2ee

Uso Básico

Aquí tienes un ejemplo de cómo cifrar y descifrar un texto usando llaves asimétricas:

import zch_e2ee

# 1. Generar par de llaves criptográficas
privada, publica = zch_e2ee.generar_llaves()

# 2. Cifrar un mensaje para el destinatario
cifrado = zch_e2ee.encriptar_e2ee("Hola, este es un mensaje seguro", publica)

# 3. Descifrar el mensaje recibido
original = zch_e2ee.desencriptar_e2ee(cifrado, privada)
print(original)  # "Hola, este es un mensaje seguro"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zch_e2ee-1.1.5.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zch_e2ee-1.1.5-py3-none-any.whl (38.7 kB view details)

Uploaded Python 3

File details

Details for the file zch_e2ee-1.1.5.tar.gz.

File metadata

  • Download URL: zch_e2ee-1.1.5.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for zch_e2ee-1.1.5.tar.gz
Algorithm Hash digest
SHA256 e9086ddb51084f4b2f7bab3444e044edb8100a748ecc38dd2157a9f6afd0260b
MD5 715f0f11a4520e044f2225105ed6f736
BLAKE2b-256 83c88115456d293c8e7023c4498e2bea81c1b3203cb4b018bb085ceab6aed7a1

See more details on using hashes here.

File details

Details for the file zch_e2ee-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: zch_e2ee-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 38.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for zch_e2ee-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 af873d09ad3aeb922e3372cf17301aa7aabb2ea514167cff8d0ea44087c0a4e0
MD5 8483f0289a5db2518c484d1ef322b28f
BLAKE2b-256 d9734009e83cdf7a951ad15db8ccc87087a5adbe5996c77a9178dd0d450a2e4d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page