rename parameter chunk_size to hash_block_size
fix token parser