zip arsive.zip /mnt/b/test.file
xxd -p arsive.zip > file.zip.hex
cat file.zip.hex | openssl aes-256-cbc -a -salt -pbkdf2 -pass pass:123456pass123456 > file.zip.hex.cry
########################### DATA TRANSFER ##############################
cat file.zip.hex.cry | openssl aes-256-cbc -d -a -pbkdf2 -pass pass:123456pass123456 > file.zip.hex
xxd -r -p file.zip.hex > file.zip
unzip /mnt/b/file.zip -d /mnt/b/
Categories: Bash language
2 Comments
slot99 · 25/01/2025 at 18:43
… [Trackback]
[…] Information to that Topic: durukanbal.com/2022/04/26/bash-encryption-decryption-file/ […]
highbay · 28/01/2025 at 04:29
… [Trackback]
[…] Find More Information here to that Topic: durukanbal.com/2022/04/26/bash-encryption-decryption-file/ […]