ViT Enhanced Privacy-Preserving Secure Medical Data Sharing and Classification