Examples
Basic Examples (2)
Insert the a watermark into the text of Alice in Wonderland:
Retrieve the watermark:
Scope (1)
The watermark is added repeatedly, so any sufficiently long sequence of the text will contain the watermark:
Options (3)
By default, information is encoded using the invisible space character (UNICODE 8203, Hex 200b). If the text is displayed in software which does not render invisible space then the encoding will be visible to the reader:
Use Method→"Space" to insert standard space characters (ASCII 32); however, the result will not appear identical to the original (note the lack of space after "to do.":
TextWatermark inserts information greedily depending on the Method used. In this example, 26 invisible spaces are inserted in the first 300 characters:
Use fewer opportunities to make the watermark less detectable. Higher "Sparsity" will require more carrier text to embed the watermark into:
Applications (1)
The typical application is to create unique versions of secret text for each reader so that, if the text is leaked, it is possible to trace which reader was responsible:
Possible Issues (2)
If there is insufficient carrier text to encode the watermark into, TextWatermark will attempt to switch method from "InvisibleSpace" to "InvisibleSpaceDense" or "Space" to "SpaceDense", and if it still cannot succeed, will return $Failed
When decoding watermarks, it is not known which embedding method has been used, so each is performed in turn. There is a small risk that a spurious message is generated. This process is also slower than manually specifying the Method when decoding:
Publisher
Jon McLoone
Version History
-
1.1.0
– 10 April 2026
-
1.0.1
– 10 February 2021
-
1.0.0
– 05 February 2021