Read and write encrypted private data to and from image with QR code.