| e-CryptIt Engine REALbasic Plugin |
|
CipherKeyType Module
Constants that define Cipher key types. This module can currently be used with the Serpent algorithm and the Twofish algorithm.
Example usage:cipher = new Serpent(Password,
CipherKeyType.Encrypt,CipherMode.ECB)
Constants
Encrypt = 0 | A constant that defines a key for encrypting only. |
Decrypt = 1 | A constant that defines a key for decrypting only. |
Both = 2 | A constant that defines a key for both encrypting and decrypting. In most cases this constant should not be used since all the encryption algorithms can only make one use of each instance, so the only point in using the Both constant would be if you need to create a instance of a Cipher without knowing at that moment if the instance will be used for encrypting or decrypting. |