UserKey from record?


I’m doing a scan on a namespace and set and want to obtain the original user key that was put into the record when it was written. I realize that it gets automatically hashed using RIPE-MD 160, though I’m curious as to whether there’s any way of getting back the original key by simply looking at the record. It’s a single-bin namespace that I’m looking at by the way, so the original key never got written to another bin… am I out of luck?

Thanks, Mark.


Hi Mark,

Thanks for posting on the forums. As for your question, the answer is …No. There’s isn’t any way of getting back the original key with the current Aerospike version. You would have to store the key in a bin if its explicitly needed.

More info can be found here:

Hope that answers your question.