obfuscate
Obfuscates or De+obfuscates given data by XORing it with PECB, which is calculated by encrypting Privacy Plaintext (encrypted data (used as Privacy Random) and IV Index) using the given key.
parameters:
Parameters
data
The data to obfuscate or deobfuscate.
random
Data used as Privacy Random.
ivIndex
The current IV Index value.
privacyKey
The 128-bit Privacy Key.