KeyComputeDigest Method

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

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static byte[] ComputeDigest(
	string setName,
	Value key
)

Parameters

setName  String
optional set name, enter null when set does not exist
key  Value
record identifier, unique within set

Return Value

Byte
unique server hash value

Exceptions

AerospikeExceptionif digest computation fails

See Also