If its base64 encoded, I decode it using any software it is not giving me the desired result
for example ‘d09d0d4dfa27d0ea9e1b992fa61bbabdbc92dd60’ after base 64 decoding is giving me ‘wO]}wG[k[mmvu’ rather it should be just integers.
So how do I stop the encoding and what kind of encoding is it?
What’s the value of the user_id cookie? Giving that you are setting user_id from a cookie that’s what should be getting set or as @robkingston mentioned above it could be the PII enrichment if you have this enabled.
@robkingston@mike
The value of the user id cookie is just an integer value with 6 digits
but i’m getting values like - ‘408760a2938a8332b2e45a7dbd5f6abfadf036af’
I guess I’ll have to follow @robkingston’s technique.
Do you have any idea on how to do that?
Can you paste the contents of your PII enrichment (with the salt removed)? If you have the PII enrichment the idea is to make this as non-reversible as possible without having the original value and the salt.
I’d recommend having a look at the ‘Data generated’ section of the PII enrichment.
For values that go through the PII process they will be hashed in the canonical part of the payload and the enrichment will add a context containing the field, original value and hashed value that will then enable you to work backwards to the original data.
For your hash 408760a2938a8332b2e45a7dbd5f6abfadf036af given that we know it’s a 6 digit number and the salt is pepper123 we can assume the input is 5200 such that