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
26 Comments