commit | 477c90ca1a08fa20448399c0606110e697d15667 | [log] [tgz] |
---|---|---|
author | Sergio Giro <sgiro@google.com> | Fri Jun 03 19:04:23 2016 +0100 |
committer | Sergio Giro <sgiro@google.com> | Tue Jun 07 16:05:06 2016 +0100 |
tree | 4ff644bf4fe2caba4daa77888d45c7c6adaeae86 | |
parent | 7c3760b6395512b51ef540b75f9364f8aad9a0b8 [diff] |
KeyDerivationFunction: example about treating data encrypted via SHA1PRNG The Crypto provider providing the SHA1PRNG algorithm for random number generation was deprecated. This algorithm was sometimes incorrectly used to derive keys. This example provides a helper class and shows how to treat data that was encrypted in the incorrect way and re-encrypt it in a proper way. Bug: 27873296 Change-Id: I92d2fd4ebb07d5823de31f5a199e23b1dba4836e