Class MD5OutputStreamTest

  extended by com.twmacinta.util.test.MD5OutputStreamTest

public class MD5OutputStreamTest
extends java.lang.Object

Copyright (c) 2002 - 2010 by Timothy W Macinta, All Rights Reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

This class generates a stream of random data and compares the results of the md5 checksum generated by an instance of MD5OutputStream with the md5 checksum by piping the data through the local 'md5sum' or 'md5' binary.

See for more information on this file.

Tim Macinta (

Constructor Summary
Method Summary
static void main(java.lang.String[] arg)
          Usage: java com.twmacinta.util.test.MD5OutputStreamTest [seed | "time" [max_data]]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public MD5OutputStreamTest()
Method Detail


public static void main(java.lang.String[] arg)
Usage: java com.twmacinta.util.test.MD5OutputStreamTest [seed | "time" [max_data]]