vdom.diffing
Class Hash

java.lang.Object
  extended by vdom.diffing.Hash

public class Hash
extends java.lang.Object

Author:
schirinz Classe per calcolare il valore hash di una stringa

Constructor Summary
Hash()
           
 
Method Summary
static java.lang.String Hnode(org.w3c.dom.Node node)
          Crea il valore hasj per il Nodo DOM passato in input
static java.lang.String md5(java.lang.String message)
          Calcola il valore MD5 per la stringa passata in input
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hash

public Hash()
Method Detail

md5

public static java.lang.String md5(java.lang.String message)
Calcola il valore MD5 per la stringa passata in input

Parameters:
message - Stringa su cui calcolare il valore MD5
Returns:
Valore MD5

Hnode

public static java.lang.String Hnode(org.w3c.dom.Node node)
Crea il valore hasj per il Nodo DOM passato in input

Parameters:
node - Nodo DOM sul quale calcolare il valore hash
Returns:
Stringa che rappresenta il valore Hash calcolato sul nodo