12345678910 |
- import time
- from watermark_verify.tools import secret_label_func
- from watermark_verify import logger
- if __name__ == '__main__':
- ts = int(time.time())
- secret_label, public_key = secret_label_func.generate_secret_label(str(ts))
- verify_result = secret_label_func.verify_secret_label(secret_label, public_key)
- logger.debug(f"verify_result: {verify_result}")
|