

CRYPT (1)                    6/30/78                    CRYPT (1)




NAME
   crypt - encrypt and decrypt standard input

SYNOPSIS
   crypt key

DESCRIPTION
   Crypt  encrypts  characters  on  the  standard  input by using
   "key".  The file can eventually be  decrypted  by  running  it
   back  through  crypt  with  the same key.  Multiple encryption
   (encrypting a file with first one key  and  then  another)  is
   allowable. 

   The  size  of  the  encryption  key  is  limited by the MAXKEY
   definition in the source code. 

FILES
   None

SEE ALSO

DIAGNOSTICS
   None

AUTHORS
   From Kernighan & Plauger's 'Software Tools'. 

BUGS/DEFICIENCIES
   On some systems,  encryption  results  in  control  characters
   which  may  cause  erratic  behavior.   For  these systems, an
   optional version of the encryption routine is  provided  which
   avoids   encrypting   control  characters.   When  using  this
   optional version, multiple decriptions must  be  done  in  the
   exact reverse order in which encryption was done. 

























