4 Star 27 Fork 8

guofei9987 / text_blind_watermark

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

text_blind_watermark

Online demo: https://www.guofei.site/pictures_for_blog/app/text_watermark/v1.html

Put blind watermark into a text.

Can be used in

  • Wechat
  • dingding
  • ...

How to Use

install

>pip install text_blind_watermark

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

from text_blind_watermark import embed, extract
password = '20190808'
wm_extract = extract(sentence_embed, password)
print("解出的盲水印")
print(wm_extract)

Repository Comments ( 4 )

Sign in to post a comment

About

文本盲水印:把信息隐匿到文本中。put blind watermark into a text(invisible watermark for text). expand collapse
Cancel

Releases

No release

text_blind_watermark

Contributors

All

Activities

Load More
can not load any more
Python
1
https://git.oschina.net/guofei9987/text_blind_watermark.git
git@git.oschina.net:guofei9987/text_blind_watermark.git
guofei9987
text_blind_watermark
text_blind_watermark
main

Search

103111 552b83b3 1850385 103110 ed87a847 1850385