CRC Functions

AMPS includes functions that compute a CRC checksum over a string. This function is useful for creating a numeric identifier from a string representation. This is commonly-used to create a shortened representation of the string, or to provide input for a MOD calculation.

Function
Parameters
Description

CRC32

string

Returns an integer calculated as a checksum of the provided string.

This function returns a 32-bit integer.

If a NULL value is provided, this function returns a constant value.

This function uses CRC32-C to create the result.

For details on the exact parameters, contact 60East.

CRC64

string

Returns an integer calculated as a checksum of the provided string.

This function returns a 64-bit integer.

If a NULL value is provided, this function returns a constant value.

This function uses a polynomial of 0x95AC9329AC4BC9B5 to create the result.

For details on the exact parameters, contact 60East.

Last updated

Copyright 2013-2024 60East Technologies, Inc.