com.theorem.radserver3.radutil
Class MD5Digest
Object
MD5Digest
- public class MD5Digest
- extends Object
Wrapper for the MD5 Digest. It eliminates the try - catch code for something that should always
exist.
If the MD5 algorithm cannot be found (highly unlikely) the digest methods will throw
NullPointerExceptions.
|
Method Summary |
static MessageDigest |
get()
Get an instance of the MD5 digest. |
static MessageDigest |
get(Provider provider)
Get an instance of the MD5 digest. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIGEST_LENGTH
public static final int DIGEST_LENGTH
- Digest length - 16;
- See Also:
- Constant Field Values
MD5Digest
public MD5Digest()
get
public static MessageDigest get()
- Get an instance of the MD5 digest.
- Returns:
- MD5 MessageDigest.
get
public static MessageDigest get(Provider provider)
- Get an instance of the MD5 digest.
- Parameters:
provider - Security provider.
- Returns:
- MD5 MessageDigest.
Submit a bug report or feature request
Copyright 1998-2008 AXL Software. PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.