my $short = $digest % ($largest_int_wanted + 1);