Segmentation and Encryption Before Sharing