.------[ Tyler Longren wrote (2003/02/28 at 16:15:27) ]------
|
| I found that if I change $data to "12345678", it works. How can I encrypt a
| string that has more than 8 characters?
|
`-------------------------------------------------
You'll want to look at Crypt::CBC which can use many of the other
encryption types found in Crypt::* such as Blowfish. CBC stands for
Chaining Block Cipher (IIRC).
It is because Blowfish is a block cipher that only handles 8 bits at
a time, CBC handles this "chaining" of these 8 byte sections
together for you.
---------------------------------
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
---------------------------------
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]