use hexdigest