Contents
Navigation
PatiSoftware Other Documents Related Topics

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

In cryptography, RC5 is a symmetric–key block cipher notable for its simplicity. Designed by Ronald Rivest in 1994, RC stands for "Rivest Cipher", or alternatively, "Ron's Code". The Advanced Encryption Standard candidate RC6 (not implemented here) was based on RC5.

Unlike many schemes, RC5 has a variable block size (32, 64 or 128 bits), key size (0 to 2040 bits) and number of (0 to 255). Accordingly, the QDLPlgRC5 class uses of variable lengths ranging from 0 up to 2040 bits (extremes included); anyway, the class uses blocks of 64 bits only.





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

The QDLPlgRC5 class constructors are called when you create a new instance of the class, while the ˜QDLPlgRC5 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 QDLPlgRC5 class implements the following initializers:

()
This is the default constructor. The property is set to an empty string, the to 128 and the to 12.
(other as QDLPlgRC5)
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.

specifies the number of rounds to be used; suitable values range from 0 to 255 (included): 1820 rounds are suggested to provide sufficient protection.