org.osmius.util.MD5State Class Reference

List of all members.

Public Member Functions

 MD5State ()
 MD5State (MD5State from)

Package Attributes

int state []
long count
byte buffer []

Detailed Description

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
Some changes Copyright (c) 2002 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.

Contains internal state of the MD5 class

Please note: I (Timothy Macinta) have put this code in the com.twmacinta.util package only because it came without a package. I was not the the original author of the code, although I did optimize it (substantially) and fix some bugs.

Author:
Santeri Paavolainen <sjpaavol@cc.helsinki.fi>

Timothy W Macinta (twm@alum.mit.edu) (optimizations and bug fixes)

Definition at line 56 of file MD5State.java.


Constructor & Destructor Documentation

org.osmius.util.MD5State.MD5State ( MD5State  from  ) 

Create this State as a copy of another state

Definition at line 87 of file MD5State.java.

References org.osmius.util.MD5State.buffer, org.osmius.util.MD5State.count, and org.osmius.util.MD5State.state.


Member Data Documentation

int org.osmius.util.MD5State.state[] [package]

128-bit state

Definition at line 60 of file MD5State.java.

Referenced by org.osmius.util.MD5.Final(), org.osmius.util.MD5State.MD5State(), and org.osmius.util.MD5.Update().

long org.osmius.util.MD5State.count [package]

64-bit character count

Definition at line 65 of file MD5State.java.

Referenced by org.osmius.util.MD5.Final(), org.osmius.util.MD5State.MD5State(), and org.osmius.util.MD5.Update().

byte org.osmius.util.MD5State.buffer[] [package]

64-byte buffer (512 bits) for storing to-be-hashed characters

Definition at line 70 of file MD5State.java.

Referenced by org.osmius.util.MD5State.MD5State(), and org.osmius.util.MD5.Update().


The documentation for this class was generated from the following file:
Generated on Mon Sep 17 11:43:47 2007 for Osmius_Console by  doxygen 1.5.1