Adding python digest