using hexdigest instead of digest