DESdecrypt

Warning:

This function is obsolete, use decryptString().

Deciphers a data with the DES algorithm.


            DESdecrypt (value [, key ] [, cipher
      mode ] [, initialization
      vector ])
         

Parameters

value

The data to be digitized, represented in base 64.

key

The key represented in hexadecimal. The key must be 64 bits long, or 16 hexadecimal characters. By default, the identifier of the database is used.

cipher mode

The blocks encoding method. One character string. i.e. "CBC", "ECB" or "EDE". By default "CBC".

initialization vector

The initialization vector in the form of a hexadecimal string. Exactly 8 octets, i.e. 16 characters. An empty string by default.

Return value

The unencrypted character string.

Remarks

  • A DES key has 56 useful bits and 8 bits used for parity; These bits are ignored.
  • The data will be unencrypted as an 8-bit string in the Windows-1252 codepage.
  • The length of the encrypted data must be a multiple of 64 bits.

Features

Available in:

  • Content management
  • Delivery properties
  • Delivery message
  • Typology rule
  • Import
  • JSSP
  • SOAP Method
  • WebApp
  • Workflow