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.0.7.tar.gz (24.1 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.0.7-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zch_e2ee-1.0.7.tar.gz
  • Upload date:
  • Size: 24.1 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.0.7.tar.gz
Algorithm Hash digest
SHA256 81c9cad2bf1d2f72c2629dda8f15699fb06cbcca6925892949be1b324c864495
MD5 f69493f92c72830ba5073e122e3ef807
BLAKE2b-256 beaeb4b8b061d41f0d1fdf65caa4f9913058c0c56dbfc98d666566713f7945a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zch_e2ee-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 24.6 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.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5d5d98f99b0bad17a934e70aa901b59ea1dff94bf20af7791625373cf2c7294c
MD5 7c47c7306e08e87ecd363645f2219dfc
BLAKE2b-256 fd6f76d7785300999b2ce23080f476efd186bda28a1425395187b6a8d720192a

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