Actually I have a file . I am working in linux environment. I need to encrypt that file for secure purpose with giving the some password. The operation could be like zip , tar any compression. When I extract the file It should ask me password , only then it should get extracted
Thanks in Advance
gpg --symmetric
and gpg --decrypt
should do what you want.