Re: [android-developers] hash functions
On Tue, May 10, 2011 at 2:52 PM, pasamblue1 <parulchahar@gmail.com> wrote:
> I am developing an android application for encryption decryption of
> messages. I need some hash algorithm to generate key from password. I
> am using SHA1 for the same. Not sure if it is good to use it for
> security reasons. Is there any other algorithm to be used as hash
> function.
>
Search for 'password based encryption'. There are standard algorithms to
derive a key from a password securely. For Java, you might want to use
'PBKDF2WithHmacSHA1' or some equivalent available on Android.
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home