kohunmin / privatedatacommunicationprotocol

Automatically exported from code.google.com/p/privatedatacommunicationprotocol
0 stars 0 forks source link

Decrypting IDFA #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Would it be possible to provide an example of decrypting IDFA in Java?
I tried:
1- Converting the sample encrypted IDFA I was provided into a Java byte array.
2- Removing the Base64 encoding/decoding

So overall its very similar to the testByteArray method.

These changes don't seem to work. When I decrypt I get a 16 byte array, but the 
bytes don't translate into utf 8 or normal chars.

I see in the comments of the sample code it mentions not switching byte order 
when doing IDFA decrypting as opposed to Winning-Price decrypting. Is that a 
reference to base64 encoding/decoding, because I don't see where the code 
switches byte order?

Thanks!

Original issue reported on code.google.com by workbiz...@gmail.com on 13 Feb 2014 at 10:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i figured it out

Original comment by workbiz...@gmail.com on 14 Feb 2014 at 5:35

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,

If you have an example to decrypt the HyperLocalSet, can you send me please.

I am getting the below error:
Failed to decode ciphertext. Signature mismatch.

Thanks!!
Veera

Original comment by veer...@gmail.com on 12 Apr 2014 at 1:55