Permite cifrar y descifrar texto
Project description
ONEPackage
- Source code: https://github.com/Ange1D/ONEPackage
- Bug reports: https://github.com/Ange1D/ONEPackage/issues
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
Project details
Release history Release notifications | RSS feed
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)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9a2c48bc199573adeff29b548690845f8fbc4882285e55a7d0069e06b72c80a |
|
MD5 | ac34b45ece632a3d18ba823f1c7c0be4 |
|
BLAKE2b-256 | ae47626c64d6168d5d986c4e3dd9e6e10915ac6d9ff2a28ad80b542a5a7e7980 |