Object
BlowfishECB
IEncryptionAlgorithm
![]() | The constructor for the Blowfish_ECB class. |
![]() | Use this function to decrypt a block of data. Because Blowfish works on blocks of 8 bytes then you get the best performance if the block size that you pass to it is dividable by 8. The class has built in cache technology so it will work if the the block size is not dividable by 8, but it will be slower. |
![]() | Use this function to encrypt a block of data. Because Blowfish works on blocks of 8 bytes then you get the best performance if the block size that you pass to it is dividable by 8. The class has built in cache technology so it will work if the the block size is not dividable by 8, but it will be slower. |
![]() | Use this function to finish decrypting after you have decrypted all of the blocks. |
![]() | Use this function to finish encrypting after you have encrypted all of the blocks. |
![]() | Use this property to get the padding value that is needed for this algorithm. (Blowfish will always return 8 here). The Blowfish encrypts in pairs of 8 bytes, so if you have data that does not add up to 8 then you will need to add PaddingBlockSize-1 bytes of random data to ensure that all of your data is encrypted. |
![]() | Use this method to reset the class back to the same parameters as when it was constructed. This method can be used when you want to encrypt/decrypt again without needing to construct the class again. You may not encrypt/decrypt again without constructing a new instance or using the Reset method in between. |