home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: cof2elf UNIX in a Nutshell: System V Edition Next: Reference: cu
Reference: cof2elf Book Index Reference: 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