Module is no declared "global" but returned
Don't declare variables inside for-loops
Renamed function "_bin2hash()" to "_translate()"

The function isn't binary or hash specific it just translates from a
table of symbols