encryption and PbD example