hashing routines, text output buffer