I need to encrypt/decrypt some data in my application. I downloaded
crypt-1.1.4.zip and installed it successfully. But when I run a simple
test program, I get the following error:
`encrypt_stream': undefined method `write' for "":String
Program is very simple:
tkey = '12345'
tblow = Crypt::Blowfish.new(tkey)
testblock = 'abcdeft12345'
testcrypt = ''
puts testblock, testdecrypt
Crypt::Blowfihs mixes in Crypt::CBC which requires 'stringio', which
is where I'm guessing the write method should be.
Any pointers as to what I'm doing wrong here?