Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Input data and their type
  • Initialization vector
  • Output data and their type
  • Direction and method of encryption
  • Programming language (if output data are presented as source code)

Input data

Data to be encrypted can be presented as: string of characters or file of any format.

A dropdown list in the top part of the dialog box serves for selecting the type of input data.

Clicking […] against the list opens Enter string dialog for entering a string of symbols or standard system dialog for specifying the filename and its path.

The defined string or filename with data and its path appear in Input data entry field. 

Initialization vector

Initialization vector – a random number used for running symmetric algorithm in ECB, CBC and OFB operating modes. The GSII64 initialization vector is 8 bytes, AES128 – 16 bytes.

Initialization vector is generated automatically upon opening Encryption by algorithm No dialog box and is displayed in the respective entry field.

When necessary the default value of the initialization vector can be changed. Clicking [Init vector] button launches a hexadecimal editor serving for changing or setting a new initialization vector value.

Initialization vector dialog box:

Warning

PICTURE

Initialization vector dialog box control elements:

Interface elementDescription of purpose
Hexadecimal editor windowEnter initialization vector value
[Load] buttonLoad dump from *.dmp file
[Save] buttonSave dump into *.dmp file
OEM flagSelect Windows/DOS encoding. Windows (ANSI) encoding is used by default – OEM option is off. 

The vector value changes during the encryption. [Restore] buttons serves for restoring the original initialization vector value.

Output data

Encrypted data can have the following form:

Output dataDescription
Source codeA text file containing encrypted data in a form of array of numbers and created according to the syntax rules of one of the basic programming languages: Assembler, C/C++, Pascal/Delphi
Binary codeEncrypted sequence of bytes

A dropdown menu in the middle part of the dialog box serves for selecting the type of data presentation.

Clicking […] against the list opens a standard system dialog for specifying the name of file containing encrypted data (Output.rep by default) and its path.

The name of data file and its path appear in Output data entry field. 

[Execute] button

Clicking [Execute] button initiates the process of data encryption (decryption). The button is enabled after filling out the Input data and Output data sections. 

Programming language

Programming language dropdown list located in the lower part of the dialog box becomes enabled only if the encrypted data is represented as source code in the selected programming language.

The following programming languages are available: Assembler, C/C++, Pascal/Delphi. 

Encryption and decryption

Command dropdown list serves for selecting an operation, which will be performed with the input data: encryption or decryption

Encryption Method

Symmetric algorithms have 4 operating modes different by their properties and purposes. GSII64 and AES128 algorithm is described in details in Chapter Hardware Algorithms.

Select method of encryption using the dropdown list. 

...

Performing encryption

Clicking [Execute] button located in the top part of the dialog box initiates the encryption.

...