Detect the type of hash in a string | Hacker News Reader