Combine whatever key value you want with the phone number or whatever,
putting them into one contiguous byte array.  Feed that into a
cryptographic hash to obtain the fixed-length encryption/decryption
key.

http://en.wikipedia.org/wiki/Cryptographic_hash_function

On Dec 8, 2:08 pm, Tobiah <t...@tobiah.org> wrote:
> Good news.  More info please?
>
> On 12/08/2010 12:05 PM, DanH wrote:
>
> > Yep.
>
> > On Dec 8, 12:19 pm, Tobiah<t...@tobiah.org>  wrote:
> >> Is it possible to encrypt data in such a way, that given a particular
> >> phone number, I could distribute a key that would decrypt the data,
> >> but only when mixed with that phone number?
>
> >> Thanks,
>
> >> Tobiah

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to