The program hashes the text (с++, Qt)