RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::Security::Cryptography::CRC Class Reference

Cyclic redundancy check algorithm More...

Static Public Member Functions

static unsigned long crc32_get_initial_value ()
 this function returns the required initial value for the crc. More...
 
static unsigned long crc32_block (_In_ unsigned long initialCrc, _In_reads_bytes_(sizeInBytes) const void *buffer, _In_ size_t sizeInBytes)
 calculate a checksum on a buffer – start address = p, length = bytelength CRC32 is a checksum/hashing algorithm that is very commonly used in kernels, and for Internet checksums. More...
 
static unsigned long native_crc32 (_In_ unsigned long initialCrc, _In_reads_bytes_(sizeInBytes) const void *buffer, _In_ size_t sizeInBytes)
 
static unsigned long long native_crc64 (_In_ unsigned long long initialCrc, _In_reads_bytes_(sizeInBytes) const void *buffer, _In_ size_t sizeInBytes)
 

Detailed Description

Cyclic redundancy check algorithm

Member Function Documentation

unsigned long CRC::crc32_block ( _In_ unsigned long  initialCrc,
_In_reads_bytes_(sizeInBytes) const void *  buffer,
_In_ size_t  sizeInBytes 
)
static

calculate a checksum on a buffer – start address = p, length = bytelength CRC32 is a checksum/hashing algorithm that is very commonly used in kernels, and for Internet checksums.

unsigned long CRC::crc32_get_initial_value ( )
static

this function returns the required initial value for the crc.


The documentation for this class was generated from the following files: