a simple symmetric key encryption utility
Usage:
./ncrypt [-d -k <key> -i <infilename> -o <outfilename>]
if no input or output filename is provided ncrypt will use stdin and stdout respectively and can be used as follows:
to encrypt: cat <infilename> | ./ncrypt -k <key> > <outfilename>
or: cat <infilename> | ./ncrypt -k <key> -o <outfilename>
or: ./ncrypt -k <key> -i <infilename> > <outfilename>
same for decryption but with -d option added
to compile: gcc ncrypt.c -o ncrypt or just make