logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Acknowledgements

       Based    on    SPcrc,     a     C     implementation     by     Christian     Iseli,     available     at
       ftp://ftp.ebi.ac.uk/pub/software/swissprot/Swissknife/old/SPcrc.tar.gz

perl v5.32.1                                       2021-08-15                                  SWISS::CRC64(3pm)

Author

       Alexandre Gattiker, gattiker@isb-sib.ch

Crc64 Perl Module Documentation

NAME
       CRC64 - Calculate the cyclic redundancy check.

   SYNOPSIS
          use SWISS::CRC64;

          $crc = SWISS::CRC64::crc64("IHATEMATH");
          #returns the string "E3DCADD69B01ADD1"

          ($crc_low, $crc_high) = SWISS::CRC64::crc64("IHATEMATH");
          #returns two 32-bit unsigned integers, 3822890454 and 2600578513

   DESCRIPTION
       SWISS-PROT + TREMBL use a 64-bit Cyclic Redundancy Check for the amino acid sequences.

       The algorithm to compute the CRC is described in the ISO 3309 standard.  The generator polynomial is x64
       + x4 + x3 + x + 1.  Reference: W. H. Press, S. A. Teukolsky, W. T. Vetterling, and B. P.  Flannery,
       "Numerical recipes in C", 2nd ed., Cambridge University Press. Pages 896ff.

   Functions
       crc64 string
           Calculate the CRC64 (cyclic redundancy checksum) for string.

           In  array context, returns two integers equal to the higher and lower 32 bits of the CRC64. In scalar
           context, returns a 16-character string containing the CRC64 in hexadecimal format.

See Also