A script for splitting files and encrypt them separately, and then combine them into one encrypted file
artzip --create FILE KEY SED_DICT
artzip --create FILE -f KEYFILE SED_DICT
artzip --extract FILE KEY SED\_DICT CHUNK_KEYFILE
artzip --extract FILE -f KEYFILE SED_DICT CHUNK_KEYFILE
For creating SED_DICT:
bash artzip_gen_sed_random > SED_DICT
File clangd is 5 MB size
We split this file into chunks one megabyte at a time
Set the encryption key, for example 123
We take the sed's dictionary
Replace
1 on X
2 on Y
3 on Z
Using XYZ as the current key
We encrypt each piece with "KEY + RANDOM"
We randomly encrypt for each piece using the old 123 key, convert it to base64 and save it to the random_keys file
Combine all chunks into one file wih cat >>
(BTW, the name of file is important for decrypting)
head
tail
grep
sed
openssl
bash
tar
split
tr
du
wc