@@ -23,19 +23,19 @@ watermarks that change the content itself (e.g. compression).
23
23
24
24
| Tag (in hex) | Class name | Meaning |
25
25
| -- | -- | -- |
26
- | 00 | RawWatermark | raw bytes without special encoding |
27
- | 01 | SizedWatermark | size + raw bytes |
28
- | 02 | CRC32Watermark | CRC32 checksum + raw bytes |
29
- | 03 | SizedCRC32Watermark | size + CRC32 checksum + raw bytes |
30
- | 04 | SHA3256Watermark | SHA3-256 hash + raw bytes |
31
- | 05 | SizedSHA3256Watermark | size + SHA3-256 hash + raw bytes |
26
+ | 00 | RawTrendmark | raw bytes without special encoding |
27
+ | 01 | SizedTrendmark | size + raw bytes |
28
+ | 02 | CRC32Trendmark | CRC32 checksum + raw bytes |
29
+ | 03 | SizedCRC32Trendmark | size + CRC32 checksum + raw bytes |
30
+ | 04 | SHA3256Trendmark | SHA3-256 hash + raw bytes |
31
+ | 05 | SizedSHA3256Trendmark | size + SHA3-256 hash + raw bytes |
32
32
| -- | -- | -- |
33
- | fe | CompressedRawWatermark | compressed bytes |
34
- | fd | CompressedSizedWatermark | size + compressed bytes |
35
- | fc | CompressedCRC32Watermark | CRC32 checksum + compressed bytes |
36
- | fb | CompressedSizedCRC32Watermark | size + CRC32 checksum + compressed bytes |
37
- | fa | CompressedSHA3256Watermark | SHA3-256 hash + compressed bytes |
38
- | f9 | CompressedSizedSHA3256Watermark | size + SHA3-256 hash + compressed bytes |
33
+ | fe | CompressedRawTrendmark | compressed bytes |
34
+ | fd | CompressedSizedTrendmark | size + compressed bytes |
35
+ | fc | CompressedCRC32Trendmark | CRC32 checksum + compressed bytes |
36
+ | fb | CompressedSizedCRC32Trendmark | size + CRC32 checksum + compressed bytes |
37
+ | fa | CompressedSHA3256Trendmark | SHA3-256 hash + compressed bytes |
38
+ | f9 | CompressedSizedSHA3256Trendmark | size + SHA3-256 hash + compressed bytes |
39
39
| -- | -- | -- |
40
40
| ff | Custom | Reserved for custom Trendmark implementations |
41
41
@@ -49,59 +49,59 @@ Compressing the example watermark content results in the bytes (f3 c9 2f 4a cd 5
49
49
Only the content is compressed, potentially allowing to use the additional information to increase
50
50
the watermark robustness.
51
51
52
- ### RawWatermark
52
+ ### RawTrendmark
53
53
54
54
| tag | raw bytes |
55
55
| -- | -- |
56
56
| 00 | 4c 6f 72 65 6d 20 69 70 73 75 6d |
57
57
58
- ### SizedWatermark
58
+ ### SizedTrendmark
59
59
The size is calculated over the entire watermark.
60
60
61
61
| tag | size in 32 bits little-endian | raw bytes |
62
62
| -- | -- | -- |
63
63
| 01 | 10 00 00 00 | 4c 6f 72 65 6d 20 69 70 73 75 6d |
64
64
65
- ### CRC32Watermark
65
+ ### CRC32Trendmark
66
66
The [ CRC32] ( https://en.wikipedia.org/wiki/Cyclic_redundancy_check ) checksum is calculated over the
67
67
entire watermark, replacing the bytes containing the checksum with null bytes.
68
68
69
69
| tag | CRC32 checksum little-endian | raw bytes |
70
70
| -- | -- | -- |
71
71
| 02 | 87 0b 16 35 | 4c 6f 72 65 6d 20 49 70 73 75 6d |
72
72
73
- ### SizedCRC32Watermark
73
+ ### SizedCRC32Trendmark
74
74
The size and CRC32 checksum are calculated over the entire watermark, replacing the bytes containing
75
75
the checksum with null bytes.
76
76
77
77
| tag | size in 32 bits little-endian | CRC32 checksum little-endian | raw bytes |
78
78
| -- | -- | -- | -- |
79
79
| 03 | 14 00 00 00 | 1e 85 5b 04 | 4c 6f 72 65 6d 20 49 70 73 75 6d |
80
80
81
- ### SHA3256Watermark
81
+ ### SHA3256Trendmark
82
82
The [ SHA3-256] ( https://en.wikipedia.org/wiki/SHA-3 ) hash is calculated over the entire watermark,
83
83
replacing the bytes containing the hash with null bytes.
84
84
85
85
| tag | SHA3-256 hash | raw bytes |
86
86
| -- | -- | -- |
87
87
| 04 | de 02 65 dd 6b 16 a0 b4 ab 05 a4 39 36 c0 73 12 4f 66 a2 aa 55 b3 9c 2b 30 b6 19 de 1c 11 c9 50 | 4c 6f 72 65 6d 20 49 70 73 75 6d |
88
88
89
- ### SizedSHA3256Watermark
89
+ ### SizedSHA3256Trendmark
90
90
The size and SHA3-256 hash are calculated over the entire watermark, replacing the bytes containing the
91
91
hash are replaced with zero-bytes.
92
92
93
93
| tag | size in 32 bits little-endian | SHA3-256 hash | raw bytes |
94
94
| -- | -- | -- | -- |
95
95
| 05 | 30 00 00 00 | f2 17 a5 ae 43 c5 70 a2 33 2b b5 90 60 23 45 da 6d 35 d3 34 95 5c 17 83 ec ec 2e 49 66 45 c9 1a | 4c 6f 72 65 6d 20 49 70 73 75 6d |
96
96
97
- ### CompressedRawWatermark
97
+ ### CompressedRawTrendmark
98
98
Trendmark uses DEFLATE as compression algorithm (see RFC 1951).
99
99
100
100
| tag | compressed content |
101
101
| -- | -- |
102
102
| fe | f3 c9 2f 4a cd 55 f0 2c 28 2e cd 05 00 |
103
103
104
- ### CompressedSizedWatermark
104
+ ### CompressedSizedTrendmark
105
105
The size is calculated over the entire watermark.
106
106
Only the content is compressed, potentially allowing to use the additional information to increase
107
107
the watermark robustness.
@@ -112,7 +112,7 @@ Trendmark uses [DEFLATE](https://en.wikipedia.org/wiki/Deflate) as compression a
112
112
| -- | -- | -- |
113
113
| fd | 12 00 00 00 | f3 c9 2f 4a cd 55 f0 2c 28 2e cd 05 00 |
114
114
115
- ### CompressedCRC32Watermark
115
+ ### CompressedCRC32Trendmark
116
116
The CRC32 checksum is calculated over the entire watermark, replacing the bytes containing the
117
117
checksum with null bytes.
118
118
Only the content is compressed, potentially allowing to use the additional information to increase
@@ -123,7 +123,7 @@ Trendmark uses DEFLATE as compression algorithm (see RFC 1951).
123
123
| -- | -- | -- |
124
124
| fc | 9d 54 46 ff | f3 c9 2f 4a cd 55 f0 2c 28 2e cd 05 00 |
125
125
126
- ### CompressedSizedCRC32Watermark
126
+ ### CompressedSizedCRC32Trendmark
127
127
The size and CRC32 checksum are calculated over the entire watermark, replacing the bytes containing
128
128
the checksum with null bytes.
129
129
Only the content is compressed, potentially allowing to use the additional information to increase
@@ -134,7 +134,7 @@ Trendmark uses DEFLATE as compression algorithm (see RFC 1951).
134
134
| -- | -- | -- | -- |
135
135
| fb | 16 00 00 00 | 13 07 a7 d2 | f3 c9 2f 4a cd 55 f0 2c 28 2e cd 05 00 |
136
136
137
- ### CompressedSHA3256Watermark
137
+ ### CompressedSHA3256Trendmark
138
138
The SHA3-256 hash is calculated over the entire watermark, replacing the bytes containing the hash
139
139
with null bytes.
140
140
Only the content is compressed, potentially allowing to use the additional information to increase
@@ -145,7 +145,7 @@ Trendmark uses DEFLATE as compression algorithm (see RFC 1951).
145
145
| -- | -- | -- |
146
146
| fa | df 60 19 45 c2 77 98 5d 0e 59 cc f8 9b 27 ed 9f 9c 98 85 a5 b3 3e c7 47 fa 88 68 74 a8 ef 77 5b | f3 c9 2f 4a cd 55 f0 2c 28 2e cd 05 00 |
147
147
148
- ### CompressedSizedSHA3256Watermark
148
+ ### CompressedSizedSHA3256Trendmark
149
149
The size and SHA3-256 hash are calculated over the entire watermark, replacing the bytes containing the
150
150
hash are replaced with zero-bytes.
151
151
Only the content is compressed, potentially allowing to use the additional information to increase
0 commit comments