The function BlowFishEncryptStream encrypts the stream InStream by applying the BlowFish cipher. The parameter pwd specifies the password. The encrypted stream is written to OutStream, starting at the current stream position (thus overwriting all data at and after OutStream.Position).
The function returns the following error codes:
0 ... everything is OK
-1 ... password is empty
-2 ... Instream is empty