home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 509.lha / DES / des.1 < prev    next >
Text File  |  1991-05-06  |  1KB  |  38 lines

  1.  DES 1  "24 March 1987"
  2.  
  3. des - DES file encryption
  4.  SYNOPSIS
  5.  
  6. des -e|-d [-h] [-k key] [-b]
  7. DESCRIPTION
  8.  
  9. des is a filter that encrypts or decrypts standard input to standard output
  10. with the Data Encryption Standard (DES).
  11. Either -e (encrypt) or -d (decrypt) must be specified. If the key is not
  12. given on the command line with the -k option the command will prompt for it
  13. twice, suppressing echo and comparing the two responses to guard against
  14. mistyping.
  15.  
  16. The -h flag controls how the key string is to be interpreted.
  17. Without the -h flag, the key is an ASCII string.
  18. Since DES ignores the low order bit of each key byte, the high order bit is
  19. set for odd parity, thus retaining the information contained in the low
  20. order bit.
  21. If the -h flag is set, the key string is interpreted as 16 hex/ASCII
  22. characters; the low order bit of each byte is again ignored as per the DES
  23. algorithm. This allows the use of any arbitrary 56-bit key, including bytes
  24. representing control characters that could not be typed if the -h option were
  25. not used.
  26.  
  27. By default, DES Cipher Block Chaining (CBC) mode is used, with an initial
  28. vector (IV) of all zeros; if the -b option is specified, Electronic Code
  29. Book (ECB) mode is used instead.
  30.  
  31. Except for the -h option, this command is compatible with the des command on
  32.  the Sun Microsystems workstation.
  33. "SEE ALSO"
  34. Sun Microsystems DES(1) manual page, which describes in detail how
  35. the length of the file is encoded in the last block of ciphertext.
  36. AUTHOR
  37. Phil Karn, KA9Q
  38.