Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/CRC-32/Java/crc-32-1.java
Normal file
1
Task/CRC-32/Java/crc-32-1.java
Normal file
|
|
@ -0,0 +1 @@
|
|||
import java.util.zip.CRC32;
|
||||
6
Task/CRC-32/Java/crc-32-2.java
Normal file
6
Task/CRC-32/Java/crc-32-2.java
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
public static void main(String[] args) throws IOException {
|
||||
String string = "The quick brown fox jumps over the lazy dog";
|
||||
CRC32 crc = new CRC32();
|
||||
crc.update(string.getBytes());
|
||||
System.out.printf("%x", crc.getValue());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue