Is there an algorithm that computes the strength of a digest alg? (original) (raw)
Weijun Wang weijun.wang at oracle.com
Mon Oct 24 01:52:25 UTC 2011
- Previous message (by thread): hg: jdk8/tl/langtools: 7098530: tools/javac/javazip/Test.sh can fail on Windows
- Next message (by thread): Is there an algorithm that computes the strength of a digest alg?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Andrew
I need a method
boolean isWeakerThan(String a1, String a2)
so that isWeakerThan("MD5", "SHA1") returns true and isWeakerThan("SHA-256", "SHA1") returns false. I know you have done a lot of constraints works in JDK 7. Do you have an existing one? Otherwise, I plan to manually assign a value to each known algorithm and compare it.
Thanks Max
- Previous message (by thread): hg: jdk8/tl/langtools: 7098530: tools/javac/javazip/Test.sh can fail on Windows
- Next message (by thread): Is there an algorithm that computes the strength of a digest alg?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]