Digest::CRC man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

Digest::CRC(3)	      User Contributed Perl Documentation	Digest::CRC(3)

NAME
       Digest::CRC - Generic CRC functions

SYNOPSIS
	 # Functional style

	 use Digest::CRC qw(crc64 crc32 crc16 crcccitt crc crc8);
	 $crc = crc64("123456789");
	 $crc = crc32("123456789");
	 $crc = crc16("123456789");
	 $crc = crcccitt("123456789");
	 $crc = crc8("123456789");

	 $crc = crc($input,$width,$init,$xorout,$refout,$poly,$refin);

	 # OO style
	 use Digest::CRC;

	 $ctx = Digest::CRC->new(type=>"crc16");
	 $ctx = Digest::CRC->new(width=>16, init=>0x2345, xorout=>0x0000,
				 poly=>0x8005, refin=>1, refout=>1, cont=>1);

	 $ctx->add($data);
	 $ctx->addfile(*FILE);

	 $digest = $ctx->digest;
	 $digest = $ctx->hexdigest;
	 $digest = $ctx->b64digest;

DESCRIPTION
       The Digest::CRC module calculates CRC sums of all sorts.	 It contains
       wrapper functions with the correct parameters for CRC-CCITT, CRC-16,
       CRC-32 and CRC-64.

AUTHOR
       Oliver Maul, oli@42.nu

COPYRIGHT
       CRC algorithm code taken from "A PAINLESS GUIDE TO CRC ERROR DETECTION
	ALGORITHMS".

       The author of this package disclaims all copyrights and releases it
       into the public domain.

perl v5.14.1			  2010-09-29			Digest::CRC(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net