Crc32c

CRC32C checksum. Note: digest will return the bytes (big endian) of the CRC32C integer value. Access digestValue directly to avoid doing the integer conversion yourself.

Constructors

Link copied to clipboard
constructor()

Inherited properties

Link copied to clipboard
open override val blockSizeBytes: Int = 4

The size of the hashing block in bytes.

Link copied to clipboard
open override val digestSizeBytes: Int = 4

The size of the digest output in bytes.

Functions

Link copied to clipboard
open override fun digestValue(): <Error class: unknown class>
Link copied to clipboard
open override fun reset()

Resets the digest to its initial state discarding any accumulated digest state.

Link copied to clipboard
open override fun update(input: ByteArray, offset: Int, length: Int)

Update the running hash with input bytes. This can be called multiple times.

Inherited functions

Link copied to clipboard
open override fun digest(): ByteArray

Finalize the hash computation and return the digest bytes. The hash function will be reset after the call is made.