Changened link <=> hash generating logic:
Hash store in database like integer value (primary key in table short),
and display as integer value with base 36.
Logic.php