UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: cof2elfAppendix B
Obsolete Commands
Next: Reference: cu
 

crypt

crypt [password] < file > encryptedfile

Encrypt a file to prevent unauthorized access. password is either a string of characters you choose or the option -k, which assigns the value of the environment variable CRYPTKEY (Solaris: CrYpTkEy) as the password. The same password encrypts a file or decrypts an encrypted file. If no password is given, crypt prompts for one. crypt is available only in the United States (due to export restrictions).

The algorithm used is considered weak, and this command should not be used for serious encryption. See PGP: Pretty Good Privacy, listed in the Bibliography.


Previous: Reference: cof2elfUNIX in a Nutshell: System V EditionNext: Reference: cu
Reference: cof2elfBook IndexReference: cu

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System