Hi, 1st link was to simply show mention of longer bit length SHA algorithms in Android SDK, not how to go about effectively using them, which usually involves 'salt' and other measures as other have discussed here and else where.
MD5 (128 bits) is 'weaker' than SHA1 (160 bits) only by virtue of having less bits, without seeking to start an argument both are 'broken/have collisions' in theory/practice anyway, hence SHA3 contest http://csrc.nist.gov/groups/ST/hash/sha-3/index.html http://www.schneier.com/blog/archives/2005/06/more_md5_collis.html http://www.schneier.com/blog/archives/2005/02/cryptanalysis_o.html http://www.schneier.com/blog/archives/2011/02/nist_defines_ne.html Regards On May 10, 5:52 pm, Nikolay Elenkov <[email protected]> wrote: > On Tue, May 10, 2011 at 3:59 PM, gjs <[email protected]> wrote: > >http://developer.android.com/reference/java/security/spec/MGF1Paramet... > > > SHA256, 384, 512 > > What does the mask generation function has to do with this? > Don't just paste random links. > > > > >http://developer.android.com/reference/java/security/MessageDigest.html > > > MD5 is weaker than SHA > > Qualify 'weaker'. See above. -- 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

