Hmmm I get the same problem, seems like it dies if the file is greater
than 256 bytes, dunno if that means much.
I don’t think what Jason said is very relevant, and their does seem to
be an issue. The documentation is typically bad and I personally do
find that very annoying, people can find the time to write blogs and
publish this stuff but can’t spend 10 minutes writing some simple sample
code. I have posted on the relevant ruby forge forum but I would not
expect to get a message anytime soon.
Fixing the bug might well be very time consuming as it is a wrapper
around Openssl, and we don’t know if the issue is with that or ezcrypto.
Move on then I guess, but to what? The crypto gem works okay if you only
need to crypt small files but is very slow on big files, not practical
for our plans.
Look at OpenSSL gem directly I guess, but you will have a hard time
finding useful documentation for that either me thinks.
Anyone know how to crypt files with Blowfish using Openssl, to late at
night now for me to try that!