net.jradius.util
Class MD5

java.lang.Object
  extended by net.jradius.util.MD5

public class MD5
extends java.lang.Object

MD5 Utils including HMAC-MD5

Author:
David Bird

Constructor Summary
MD5()
           
 
Method Summary
static gnu.crypto.mac.IMac getHMACMD5()
           
static gnu.crypto.hash.IMessageDigest getMD5()
           
static byte[] hmac_md5(byte[] text, byte[] key)
           
static byte[] md5(byte[] text)
           
static byte[] md5(byte[] text1, byte[] text2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD5

public MD5()
Method Detail

getMD5

public static gnu.crypto.hash.IMessageDigest getMD5()

getHMACMD5

public static gnu.crypto.mac.IMac getHMACMD5()

md5

public static byte[] md5(byte[] text)

md5

public static byte[] md5(byte[] text1,
                         byte[] text2)

hmac_md5

public static byte[] hmac_md5(byte[] text,
                              byte[] key)


Copyright © 2008 JRadius Project, All Rights Reserved.