开发者

CRC16 in Python

开发者 https://www.devze.com 2023-02-16 09:03 出处:网络
How do I calculate CRC16 i开发者_Python百科n Python? In Perl I would write something like: use Digest::CRC \"crc16\";

How do I calculate CRC16 i开发者_Python百科n Python?

In Perl I would write something like:

use Digest::CRC "crc16";
$result = crc16($str);

How do I do same thing in Python?


There is a library for calculating CRC16 here http://pypi.python.org/pypi/crc16/0.1.0

0

精彩评论

暂无评论...
验证码 换一张
取 消