e-CryptIt Engine Xojo Plugin |

# Serpent.Constructor Constructor (console safe)

A constructor that does not take IV vector for chaining mode.

Constructor(
key as String,
keyType as Integer,
mode as Integer)

#### Parameters

key
  The encryption key to encrypt with.
  Password >= 256 bits will give 256 bit key.
  Note:
  Normally a 256 bit password is ensured by running the password first through 256 bit hashing algorithm.
keyType
  Specifies if encrypting or decrypting. (See CipherKeyType constants)
mode
  Specifies cipher mode (ECB or CBC). (See CipherMode constants)

#### Remarks

#### See Also

Serpent Class