e-CryptIt Engine Xojo Plugin |
|
TwofishCBC.Constructor Constructor
One of two constructors for the TwofishCBC class.

Constructor(
key
as String,
keyType
as Integer,
iv
as String)
Parameters
- key
- The encryption key to encrypt with.
- keyType
- Use this value to specify key type. Possible values are: 0 (Encrypt), 1 (Decrypt), 2 (Dont know). Value 2 should mostly be used when you need to pass a encryptor to some object and dont know if the object will be doing encryption or decryption. Value 2 will take up more system resources.
- iv
- The iv may be initialized with anything, but the recipient needs to know what it was initialized with, or it won't be able to decrypt. Some programs and protocols simplify this, like SSH, where iv is simply initialized to zero. If this parameter is skipped then the iv will be "0000000000000000". The IV should always be a 16 character value.
Remarks
See Also
TwofishCBC Class