Skip to main content

Permite cifrar y descifrar texto

Project description

ONEPackage

PyPI Downloads

Descripción

Es un package para cifrar y descifrar texto basado en el desafío del programa Oracle Next Education

  • Funciona solo con letras minúsculas
  • No se deben utilizar letras con acentos ni caracteres especiales
  • Las "llaves" que se utilizan son las siguientes:
    • La letra "e" es convertida para "enter"
    • La letra "i" es convertida para "imes"
    • La letra "a" es convertida para "ai"
    • La letra "o" es convertida para "ober"
    • La letra "u" es convertida para "ufat"

Instalación

pip install onepackage

uso:

from onepackage import cifrar
    mensaje = cifrar("gato")
    print(mensaje)

Output gaitober

from onepackage import descifrar
    mensaje = descifrar("gaitober")
    print(mensaje)

Output gato

from onepackage import descifrar
    mensaje = descifrar("GATO")
    print(mensaje)

Output Message contains unsupported characters

CLI

Comando Descripción
cifrador Retorna la informacion de la funcion cifrar y descifrar

Testing:

import onepackage
help(onepackage.cifrar)
help(onepackage.descifrar)
help(onepackage.validarMensaje)

License

MIT

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

onepackage-0.0.2.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file onepackage-0.0.2.tar.gz.

File metadata

  • Download URL: onepackage-0.0.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for onepackage-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d9a2c48bc199573adeff29b548690845f8fbc4882285e55a7d0069e06b72c80a
MD5 ac34b45ece632a3d18ba823f1c7c0be4
BLAKE2b-256 ae47626c64d6168d5d986c4e3dd9e6e10915ac6d9ff2a28ad80b542a5a7e7980

See more details on using hashes here.

Supported by

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