commit | 735de3b38abbd6564082a819377673ee593744a6 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Thu Sep 30 14:11:39 2010 -0700 |
committer | Kenny Root <kroot@google.com> | Thu Sep 30 17:25:05 2010 -0700 |
tree | ec309587616c5abbc49df83d7d21b6a3b3e9dfbd | |
parent | 27358a69b33eaa268ee75ef778ec824c8085adcc [diff] |
Hash keys with MD5; track IBinders not IInterface Using a plaintext password doesn't work unless it's a certain length, so just hash the plaintext password with MD5 to make it the right length for the twofish encryption. Tracking the IInterface doesn't make much sense since it's different each time, so track the IBinder instead. That way we can unlinkToDeath the binder when the last thing it's holding onto goes away. Change-Id: Id828d25b4d74f27e9d8b4bfb3909c964469cc473