JML

net.sf.jml.util
Class DigestUtils

java.lang.Object
  extended by net.sf.jml.util.DigestUtils

public class DigestUtils
extends Object

Author:
Roger Chen

Constructor Summary
DigestUtils()
           
 
Method Summary
static byte[] md5(byte[] b)
           
static String md5(String s)
           
static byte[] sha1(byte[] b)
           
static byte[] sha1(ByteBuffer[] buffers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigestUtils

public DigestUtils()
Method Detail

md5

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

md5

public static String md5(String s)

sha1

public static byte[] sha1(byte[] b)

sha1

public static byte[] sha1(ByteBuffer[] buffers)

JML