Java兼容的cksum函数

Java中是否有任何库/代码以与UNIX中的cksum命令一致的方式计算字节流的32位CRC?

回答:

Jacksum:http://www.jonelo.de/java/jacksum/index.html

cksum         algorithm:   POSIX 1003.2 CRC algorithm

length: 32 bits

type: crc

since: Jacksum 1.0.0

comment: - under BeOS it is /bin/cksum

- under FreeBSD it is /usr/bin/cksum

- under HP-UX it is /usr/bin/cksum and

/usr/bin/sum -p

- under IBM AIX it is /usr/bin/cksum

- under Linux it is /usr/bin/cksum

它是开源的。

以上是 Java兼容的cksum函数 的全部内容, 来源链接: utcz.com/qa/401963.html

回到顶部