echo Esto es una prueba de cifrado >> PruebaCifrado.txt

sistemas@woody:~$ vi prueba
sistemas@woody:~$ rm prueba
sistemas@woody:~$ echo Esto es una prueba de cifrado >> PruebaCifrado.txt
sistemas@woody:~$ openssl enc -aes-256-cbc -salt -in PruebaCifrado.txt -out PruebaCifrado.txt.enc
enter aes-256-cbc encryption password:
Verifying – enter aes-256-cbc encryption password:

sistemas@woody:~$ openssl enc -d -aes-256-cbc -in PruebaCifrado.txt.enc -out descifrado.txt
enter aes-256-cbc decryption password:

sistemas@woody:~$ openssl enc -aes-256-cbc -salt -in PruebaCifrados.txt -pass pass:hola -out PruebaCifrado.txt.enc

Por admin

Deja una respuesta

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock