Contents
Navigation
PatiSoftware Other Documents Related Topics

This document describes the QDLPlgMars class of the QDLPluginEncryptionPS plugin for Xojo/RealStudio.This class implements the MARS block cipher.

MARS is a block cipher that was IBM's submission to the Advanced Encryption Standard process. MARS was selected as an AES finalist in August 1999, after the AES2 conference in March 1999, where it was voted as the fifth and last finalist algorithm. The MARS design team included Don Coppersmith, who had been involved in the creation of the previous twenty years earlier. The project was specifically designed to resist future advances in cryptography by adopting a layered, compartmentalized approach. IBM's official report stated that MARS and were the only two finalists to implement any form of safety net with regard to would–be advances in cryptographic mathematics. The team made a similar statement about its cipher. MARS has a 128–bit block size and a variable key size of between 128 and 448 bits (in 32–bit increments); anyway, the current plugin implementation allows only the three usual ones (128, 192 and 256) (src. Wikipedia).

The QDLPlgMagenta class can use 128–bit, 192–bit or 256–bit .





Characteristics
Type:Class
Hierarchy: →
Availability:QDLPluginEncryptionPS 1.0 or later
Console Safe

The QDLPlgMagenta class constructors are called when you create a new instance of the class, while the ˜QDLPlgMagenta class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.

The QDLPlgMagenta class implements the following initializers:

()
This is the default constructor. The property is set to an empty string and the value of the property is set to 128.
(other as QDLPlgMagenta)
This is the copy constructor. The properties of the object to be copied will be used to initialize the new class instance properties
(key as string)
Initializes the of the new object with the passed key parameter. The value of the property will be automatically set to the value that best fits the length of the given key.