HP 3000 Manuals

Encrypt [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Encrypt 

Purpose 

Secures text by making one or more lines of a file unreadable.

Default Syntax 

None

This command does not have a default key assignment.  You can either
assign a key to the command using the Assign Key command or issue the
command using Execute Editor Command.

Description 

This command encrypts one or more lines of a file.  The purpose of
encryption is to render a file or selected portions of a file unreadable,
while preserving the integrity of the file contents.  This function
enables you to secure text by preventing other users from reading a
portion of a file or an entire file.

You can either use the default encryption password key, or you can select
your own key with the Set Encryption Key command.  If you select your own
key, you must provide this key when you want to decrypt one or more
subsequently encrypted lines.

Since all HP EDIT sessions use the same default key, it is recommended
that you do not use the default key to secure text.

Procedures 

To encrypt a line of text using the default encryption key: 

   1.  Move the cursor to a position anywhere on the line to be
       encrypted.

   2.  Issue Execute Editor Command (E). HP EDIT displays the prompt
       Command:  on the message line.

   3.  Type encrypt beside the prompt and press Return.  HP EDIT encrypts
       the line.

To encrypt more than one line of text using the default encryption key: 

   1.  Move the cursor to a position anywhere on the first line of the
       text block to be encrypted.
       [REV BEG]

   2.  Either Type a count or select a block.  This value represents the
       number of lines that HP EDIT is to encrypt.[REV END]

   3.  Issue Execute Editor Command (E). HP EDIT displays the prompt
       Command:  on the message line.

   4.  Type encrypt beside the prompt and press Return.  HP EDIT encrypts
       the lines.

To encrypt a line of text using a specified encryption key: 

   1.  Set the encryption key using the Set Encryption Key command.
       Refer to this command for instructions about selecting a
       user-defined password key.

   2.  Move the cursor to a position anywhere on the line to be
       encrypted.

   3.  Issue Execute Editor Command (E). HP EDIT displays the prompt
       Command:  on the message line.

   4.  Type encrypt beside the prompt and press Return.  HP EDIT encrypts
       the line.

Example 

To encrypt the following line with the default key: 

            This line will be encrypted

   1.  Move the cursor anywhere on the line as shown.

   2.  Issue Execute Editor Command (E). HP EDIT displays the prompt
       Command:  on the message line.

   3.  Type encrypt beside the prompt and press Return.  HP EDIT encrypts
       the line as shown:

            m/.k9mcvTx9Yx|P0Vzkg~mt|Nw2]#sO

Related Commands 

       Decrypt
       Decrypt With Key
       Encrypt With Key
       Set Encryption Key



MPE/iX 5.0 Documentation