com.dalsemi.jellybeans
Class SecureHash

java.lang.Object
  |
  +--com.dalsemi.jellybeans.SecureHash

public class SecureHash
extends java.lang.Object

A SHA-1 Hash.


Constructor Summary
SecureHash()
           
 
Method Summary
static byte[] hashMessage(java.lang.String message)
          Computes a SHA-1 hash on the given message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureHash

public SecureHash()
Method Detail

hashMessage

public static byte[] hashMessage(java.lang.String message)
Computes a SHA-1 hash on the given message.
Parameters:
message - the message to hash
Returns:
the result of the hash (20 bytes)