use hexdigest instead