KeyComputeDigest Method

Aerospike
Generate unique server hash value from set name, key type and user defined key. The hash function is RIPEMD-160 (a 160 bit hash).

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static byte[] ComputeDigest(
	string setName,
	Value key
)

Parameters

setName
Type: SystemString
optional set name, enter null when set does not exist
key
Type: Aerospike.ClientValue
record identifier, unique within set

Return Value

Type: Byte
unique server hash value
Exceptions

ExceptionCondition
AerospikeExceptionif digest computation fails
See Also

Reference