Title: | Cyclic Redundancy Check with CPU-Specific Acceleration |
---|---|
Description: | Hardware-based support for 'CRC32C' cyclic redundancy checksum function is made available for 'x86_64' systems with 'SSE2' support as well as for 'arm64', and detected at build-time via 'cmake' with a software-based fallback. This functionality is exported at the 'C'-language level for use by other packages. 'CRC32C' is described in 'RFC 3270' at <https://datatracker.ietf.org/doc/html/rfc3720> and is based on 'Castagnoli et al' <doi:10.1109/26.231911>. |
Authors: | Dirk Eddelbuettel [aut, cre] |
Maintainer: | Dirk Eddelbuettel <[email protected]> |
License: | GPL (>= 2) |
Version: | 0.0.2 |
Built: | 2024-08-15 02:25:23 UTC |
Source: | https://github.com/eddelbuettel/crc32c |
Hardware-based support for 'CRC32C' cyclic redundancy checksum function is made available for 'x86_64' systems with 'SSE2' support as well as for 'arm64', and detected at build-time via 'cmake' with a software-based fallback. This functionality is exported at the 'C'-language level for use by other packages. 'CRC32C' is described in 'RFC 3270' at <https://datatracker.ietf.org/doc/html/rfc3720> and is based on 'Castagnoli et al' <doi:10.1109/26.231911>.
Index of help topics:
crc32c Cyclic Redundancy Check with Hardware Support crc32c-package Cyclic Redundancy Check with CPU-Specific Acceleration
Dirk Eddelbuettel
The CRC32C Authors for the ‘crc32c’ library; Dirk Eddelbuettel for the package.
The crc32c
implementation with hardware support via SSE2 instructions
on ‘x86_64’ platforms as well as on ‘arm64’ is provided by using
the code from the repository at https://github.com/google/crc32c.
crc32c(x)
crc32c(x)
x |
A character vector |
A character vector of the same length as the incoming vector, with a
crc43c
checksum in hexadecimal as a character value of length eight in each
element.
https://datatracker.ietf.org/doc/html/rfc3720, doi:10.1109/26.231911
https://github.com/google/crc32c
crc32c("abc")
crc32c("abc")