Can you orient me on how to configure an instance of type ElBlowfishSymmetricCrypto in Delphi to Encrypt a stream? i'm having trouble specially on assigning the KeyMaterial, but if you could give me an example of the whole procedure, I'd appreciate it.
Thank you.
Regards, Luis.

By default all descendants of TElSymmetricCrypto use 'none' padding type. This padding type can be used to encrypt only amounts of data divisible by the cipher block size. I.e., in the case of Blowfish cipher you can encrypt chunks of 8, 16, 24, 32, ... bytes long (as Blowfish's block size is 8).

If you need to encrypt data of arbitrary length, please consider using PKCS#5 padding:

I am currently evaluating SecureBlackbox for my company. I saw the code above for Blowfish encryption and tried to test the code. I got stuck with SBRndGenerate and couldn't figure out which unit it was coming from.

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.