Object
Serpent
IEncryptionAlgorithm
Serpent | A constructor that does not take IV vector for chaining mode. |
Serpent | A constructor that does take IV vector for chaining mode. |
Decrypt | Use this function to decrypt a block of data. Because Serpent works on blocks of 16 bytes then you get the best performance if the block size that you pass to it is dividable by 16. The class has built in cache technology so it will work if the the block size is not dividable by 16, but it will be slower. |
Encrypt | Use this function to encrypt a block of data. Because Serpent works on blocks of 16 bytes then you get the best performance if the block size that you pass to it is dividable by 16. The class has built in cache technology so it will work if the the block size is not dividable by 16, but it will be slower. |
FinishDecrypt | Use this function to finish decrypting after you have decrypted all of the blocks. |
FinishEncrypt | Use this function to finish encrypting after you have encrypted all of the blocks. |
PaddingBlockSize | Use this property to get the padding value that is needed for this algorithm. (Serpent will always return 16 here). |