Advertisement
nac13k

Ejecución One Time Pad

Jun 27th, 2013
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.02 KB | None | 0 0
  1. nac13k@ITS ~/Dropbox/FIME/Septimo/Cripto/criptografia $ python one-time.py
  2. Intente el comando --help
  3. nac13k@ITS ~/Dropbox/FIME/Septimo/Cripto/criptografia $ python one-time.py --help
  4. -m  Define el mensaje
  5.     -m "Mensaje a Procesar"
  6. -f  Define la ruta de acceso al archivo
  7.     -f /home/usuario/llaves
  8. -t  Define el tipo de proceso, si se encripta(E) o desencripta(D)
  9.     -t E
  10. --genKey    Lanza el proceso para generar las claves o llaves
  11. Intente el comando --help
  12. nac13k@ITS ~/Dropbox/FIME/Septimo/Cripto/criptografia $ python one-time.py --genkey
  13. Nombre del archivo a generar >> llaves
  14. Cantidad de llaves a generar >> 50
  15. Longitud de llaves >> 12
  16. Se han generado las llaves!!
  17. nac13k@ITS ~/Dropbox/FIME/Septimo/Cripto/criptografia $ python one-time.py -m "Hola mundo este mensaje sera encriptado" -t E -f llaves
  18. o lzhqre1ti ksl75l7 ti5mj migywow01uywm
  19. nac13k@ITS ~/Dropbox/FIME/Septimo/Cripto/criptografia $ python one-time.py -m "o lzhqre1ti ksl75l7 ti5mj migywow01uywm" -t D -f llaves_c
  20. hola mundo este mensaje sera encriptado
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement