"I intend then to chain and blowfish it before syswriting the buffer back out to the encrypted file.", the OP said. Blowfish only works on 8 bytes of data at a time, so the OP is looking for an efficient method of dividing a string into 8 byte segments.