Use symmetric key encryption and make your key extended by adding phone
number of the mobile with the key like new_key = your_key +
customer_mobile_number

But you can't do this with asymmetric key(key pair).
But you can also implement this using a double encryption technique. Means
encrypt using public key and then encrypt it with your_key, and same as with
decryption, means first decrypt with your_key and then decrypt with private
key. But keep in mind that hash and message digest can only performs before
and after you your_key encrypt and decrypt.

Hope this will solve your problem.

Wajid


On Thu, Dec 9, 2010 at 1:08 AM, Tobiah <[email protected]> wrote:

> Good news.  More info please?
>
>
> On 12/08/2010 12:05 PM, DanH wrote:
>
>> Yep.
>>
>> On Dec 8, 12:19 pm, Tobiah<[email protected]>  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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Reply via email to