Design and analysis of privacy-preserving medical cloud computing systems