added debug functions to help fix md5lib