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.3.2.0 (5.3.2)
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: Byteunique server hash value
Exceptions
Exception | Condition |
---|---|
AerospikeException | if digest computation fails |
See Also