rmflow
rmflow

Reputation: 4765

CRC16 in Python

How do I calculate CRC16 in Python?

In Perl I would write something like:

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

How do I do same thing in Python?

Upvotes: 3

Views: 4836

Answers (1)

aweis
aweis

Reputation: 5596

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

Upvotes: 3

Related Questions