I found a small bug in the blowfish package I published a while back, more specifically in the decrypting method. Blowfish works with a block size of 8 bytes (64 bits), if the package does not have enough bytes to fill 8 bytes it will fill the missing bytes with 0-bytes. In a ASCII context 8 bytes means 8 characters, meaning the any string length that cannot be divided by 8 will have 0-bytes as suffix. When outputting the decrypted string you will not see anything wrong but when doing checks (regular expressions for example) you will get incorrect results.
The new version fixes this 0-byte bug.
Download: Blowfish_v1_0_1.pm.zip (1,6K)
There are no comments made so far.