Skip to content

Commit ad15751

Browse files
committed
Javadoc
1 parent e1a0527 commit ad15751

File tree

1 file changed

+4
-2
lines changed
  • src/main/java/org/apache/commons/codec/digest

1 file changed

+4
-2
lines changed

src/main/java/org/apache/commons/codec/digest/CRC16.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
import java.util.zip.Checksum;
2323

2424
/**
25-
* CRC-16 checksum implementation based on polynomial {@code x<sup>16</spu> + x^15 + x^2 + 1 (0x8005)} and the initial value {@code 0x0000}. This CRC variant is
26-
* also known as CRC-16-MODBUS.
25+
* CRC-16 checksum implementations you can customize with a table and input value.
2726
* <p>
2827
* Since there are so many CRC-16 variants, we do not pick a default.
2928
* </p>
@@ -211,6 +210,9 @@ public static int[] getModbusTable() {
211210
/**
212211
* Creates a new CRC16-MODBUS.
213212
* <p>
213+
* CRC-16 checksum implementation based on polynomial {@code x<sup>16</spu> + x^15 + x^2 + 1 (0x8005)}.
214+
* </p>
215+
* <p>
214216
* The init value is {@code 0xFFFF}.
215217
* </p>
216218
*

0 commit comments

Comments
 (0)