Add minimum characters for each type and fix hash checking by not casting to signed chars