Text Blind Watermark in Python
Project description
text_blind_watermark
Put blind watermark into a text.
Can be used in
- dingding
- ...
How to Use
Alice Put her text watermark into a text:
from text_blind_watermark import embed, extract
wm = "绝密:两点老地方见!"
password = '20190808'
sentence = "这句话中有盲水印,你能提取出来吗?" * 16
sentence_embed = embed(sentence, wm, password)
print("打上盲水印之后")
print(sentence_embed)
Then, you can paste this text to where you need.
It uses AES to encrypt
Bob Extract the invisible watermark
wm_extract = extract(sentence_embed, password)
print("解出的盲水印")
print(wm_extract)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for text_blind_watermark-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d3baf9e870708ec8821b358bc45556c31a69bc7e8bec1755ee5556c88987a40 |
|
MD5 | 74de07aa65d55ecf3aa276035d33b443 |
|
BLAKE2b-256 | 9c2f58777462f11956d86ba17b18df12d5d5e5962400c3cc045a8398d5f2e2a5 |
Close
Hashes for text_blind_watermark-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2db3bb47d3ca253dd547f9bc36b4650f2ec5676875508a43cc049eb229a43902 |
|
MD5 | b04cada5c619978cf2c2a910841fc9f7 |
|
BLAKE2b-256 | b1f0c77aaa3f4bec5ba34f1317cc7452a90465f6ed90d5026a8d201db50ac7bc |