On Thu, Jul 14, 2011 at 3:08 PM, Rashmi <[email protected]> wrote:
>> Check if the hash value you have/received is the same as the one you
>> calculated
> using the actual file.
>
> Value you have/received - > which value is this.

What are you trying to do? To validate a file you need know the hash in
advance. Where you get it from, we have no way of knowing. Maybe
it is written on some web page, maybe you got it by email, maybe
your friend wrote it on a piece of paper. Once you have the hash
and the actual file, you calculate the hash of the file and compare
the two values. If they match, you can be reasonably sure you
got the right/unmodified file. To really understand why and how
this works, at least read some Wikipedia before trying to
implement it.

>
> Please explain me in detail, what are the two values to be compared and how
> to get those two values .

Please transfer my consulting fee to my account :) Thanks.

-- 
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