synapsi.gui
Class Digest


java.lang.Object

  |

  +--synapsi.gui.Digest


public class Digest
extends java.lang.Object

MD5 demo in short...


Constructor Summary
Digest()
           
 
Method Summary
static byte[] countDigest(java.lang.String fileName)
          Counts the MD5 message digest for the given file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Digest


public Digest()
Method Detail

countDigest


public static byte[] countDigest(java.lang.String fileName)
Counts the MD5 message digest for the given file. (The file is assumed to be in working directory... so far ;)
Parameters:
fileName - The file being operated.
Returns:
A byte array representing the MD5 hash value of the file.