generate resultados hash for result view

+ refactor + HashToHTML