****************************************************************************** Copyright (c) 2006-2010, Derek Konigsberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ****************************************************************************** File: LogicMail/src/org/logicprobe/LogicMail/util/MD5.java This file is a modified version of the one covered by the license below. The modifications involved changes in the public interface, general formatting, and size reduction. While the RIM API includes an MD5Digest class, it requires a digitally signed binary to be usable. Since requiring code signing would impose an undesirable restriction on this project, this alternative implementation is provided. ---------------------------------------------------------------------------- Fast implementation of RSA's MD5 hash generator in Java JDK Beta-2 or higher. Originally written by Santeri Paavolainen, Helsinki Finland 1996. (c) Santeri Paavolainen, Helsinki Finland 1996
Many changes Copyright (c) 2002 - 2005 Timothy W Macinta
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. See http://www.twmacinta.com/myjava/fast_md5.php for more information on this file and the related files. This was originally a rather straight re-implementation of the reference implementation given in RFC1321 by RSA. It passes the MD5 test suite as defined in RFC1321. Many optimizations made by Timothy W Macinta. Reduced time to checksum a test file in Java alone to roughly half the time taken compared with java.security.MessageDigest (within an intepretter). Also added an optional native method to reduce the time even further. See http://www.twmacinta.com/myjava/fast_md5.php for further information on the time improvements achieved. Some bug fixes also made by Timothy W Macinta. This Java class has been derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm and its reference implementation. ****************************************************************************** Icons used in this project are from the "Tango Desktop Project" unless otherwise noted, and are either used directly or with minor modifications. Tango Desktop Project: http://tango.freedesktop.org/ Tango Icons for Thunderbird: https://addons.mozilla.org/themes/moreinfo.php?id=2258&application=thunderbird ****************************************************************************** Files: J2MEUnit/src/j2meunit/framework/*.java J2MEUnit/src/j2meunit/util/*.java These files contain the sources to J2MEUnit 1.1.1, minus any UI packages or classes containing a main() method. ---------------------------------------------------------------------------- Starting with version 1.1 J2MEUnit is distributed unter the Common Public License Version 1.0. The text of this license can be found at www.opensource.org. J2MEUnit was originally written by RoleModel Software Inc. and distributed under a similar but less detailed license. http://j2meunit.sourceforge.net/ ****************************************************************************** Icons used for the test console within the J2MEUnit project are from the FamFamFam Silk icon set, unless otherwise noted, and are either used directly or with minor modifications. http://www.famfamfam.com/ ******************************************************************************