def main():
    # Generate Timestamp & (2, 2) Scheme using XOR
    key = load_key()
    secret = Timestamp.current()
    share = Share.make(secret, key)
    reconst = reconstruction(share, key)

    # Watermarking
    sign = load_signature('kaist.gif')
    wtm_sign = Marker.watermark(sign, share)
 def share(self):
     if (self._ts_img.image is not None and
         self._key_img.image is not None):
         share = Share.make(
             self._ts_img.image,
             self._key_img.image
         )
         self.insert_image(self._share_img, filename=Share.FILENAME)
         # self.insert_image(self._share_img, image=share)
         self._share = share
     else:
         raise ValueError('share can be made from key and timestamp')