b70d84a68b7d6d864a358d632f28cdcc1fd9aa80 |
20-Mar-2018 |
Ricky Wai <rickywai@google.com> |
Use sha256 of a string as seed in RapporEncoder.insecureEncoder Test: atest android.privacy.LongitudinalReportingEncoderTest Test: atest android.privacy.RapporEncoderTest Test: atest android.server.net.watchlist.PrivacyUtilsTests Bug: 76001602 Change-Id: I42d569f34d29125e7adf898b9553053a42149bd4
apporEncoder.java
|
875374a4948d70c2a2379c88d1242082f298f349 |
22-Jan-2018 |
Ricky Wai <rickywai@google.com> |
Use encoder id as insecure DP encoder random seed Originally all apps that use insecure DP encoder will generate the same result in IRR encoder as IRR is purely rely on random generator, hence all apps will return the same IRR result in encodeBoolean() for insecure encoder. Now we change insecure encoder to use encoder id as random generator seed, so different app will have different deterministic insecure encoder result. Also, this CL fixes some existing failed tests. Bug: 63908748 Test: runtest frameworks-services -p com.android.server.net.watchlist PASS Test: bit FrameworksPrivacyLibraryTests:android.privacy.RapporEncoderTest PASS Test: bit FrameworksPrivacyLibraryTests:android.privacy.LongitudinalReportingEncoderTest PASS Change-Id: Iab84a2932d8f84da1dd2f880d2c1567dcbf1e090
apporEncoder.java
|
0d1bc332854bea2de237c68d6523e42c4aeab7a6 |
31-Oct-2017 |
Ricky Wai <rickywai@google.com> |
Add differential privacy library and algorithms - Created a differential privacy framework interface - Added 2 DP algorithms in DP framework: - Rappor, a wrapper based on external/rappor project - Longitudinal Reporting, DP enhancement based on Rappor - Created Privacy Tests for testing all privacy libraries - Added original Rappor test case in privacy test - Created tests to verify Rappor and Longitudinal Reporting result in DP framework Test: bit FrameworksPrivacyLibraryTests:android.privacy.LongitudinalReportingEncoderTest Test: bit FrameworksPrivacyLibraryTests:android.privacy.RapporEncoderTest Change-Id: Id460665059653924434c141686b5cad3fb697046
apporConfig.java
apporEncoder.java
|