Annotation of 43BSDReno/domestic/man/des.0, revision 1.1.1.1

1.1       root        1: DES(1)                     UNIX Reference Manual                       DES(1)
                      2: 
                      3: NNAAMMEE
                      4:      ddeess - DES file encryption
                      5: 
                      6: SSYYNNOOPPSSIISS
                      7:      DDeess --ee [bh] [--kk _k_e_y]
                      8:      ddeess --ff [bh] [--kk _k_e_y]
                      9: 
                     10: DDEESSCCRRIIPPTTIIOONN
                     11:      ddeess is a filter that encrypts or decrypts standard input to standard out-
                     12:      put with the Data Encryption Standard (DES).
                     13: 
                     14:      Options:
                     15: 
                     16:      --ee    (encrypt)
                     17:      --dd    (decrypt)
                     18:           Either --ee or --dd must be specified.
                     19: 
                     20:      --kk    If the key is not given on the command line with the --kk option the
                     21:           command will prompt for it twice, suppressing echo and comparing
                     22:           the two responses to guard against mistyping.
                     23: 
                     24:      --hh    The --hh flag controls how the key string is to be interpreted.
                     25:           Without the --hh flag, the key is an ASCII string.  Since DES ignores
                     26:           the low order bit of each key byte, the high order bit is set for
                     27:           odd parity, thus retaining the information contained in the low
                     28:           order bit.  If the --hh flag is set, the key string is interpreted as
                     29:           16 hex/ASCII characters; the low order bit of each byte is again
                     30:           ignored as per the DES algorithm.  This allows the use of any arbi-
                     31:           trary 56-bit key, including bytes representing control characters
                     32:           that could not be typed if the -h option were not used.
                     33: 
                     34:      --bb    Electronic Code Book (ECB) mode is used.  By default, DES Cipher
                     35:           Block Chaining (CBC) mode is used, with an initial vector (IV) of
                     36:           all zeros.
                     37: 
                     38:           Except for the --hh option, this command is compatible with the ddeess
                     39:           command on the Sun Microsystems workstation.
                     40: 
                     41: 
                     42: SSEEEE AALLSSOO
                     43:      Sun Microsystems DES(1) manual page, which describes in detail how the
                     44:      length of the file is encoded in the last block of ciphertext.
                     45: 
                     46: AAUUTTHHOORR
                     47:      Phil Karn, KA9Q
                     48: 
                     49: HHIISSTTOORRYY
                     50:      4.3Reno BSD.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.