Decrypt secure beacon id

How can i Decrypt an encrypted beacon ID that comes from Estimote Secure Monitoring advertising data?
i have the beacon ID (encrypted) and i would like to get the decrypted(real) beacon ID in the app.
is it possible to do it within the app using the app credentials or it must be sent to the cloud and get the decrypted ID and then use it?