I am trying to compress files in unix and protect it with a password.
In windows its easy with winzip. Is there any easy way to encrypt files
with password in unix??
Thanks in advance,
Raj
look for source code for info-zip. It works on winzip files.
richk
There's 'crypt', easy to use, but attacks on the scheme used there are known.
For stronger protection there's 'pgp' ('pgp -c plainfile' and 'pgp -d cfile').
--
Walter Misar mi...@rbg.informatik.tu-darmstadt.de
> I am trying to compress files in unix and protect it with a password.
> In windows its easy with winzip. Is there any easy way to encrypt files
> with password in unix??
The traditional tool, crypt(1), uses DES, which isn't considered
secure anymore. Look for GnuPG for strong cryptography (both,
symmetric and asymmetric ciphers).
urs