add encrypt code in heart beat and heat data package