de.uplanet.security
Class SHA

java.lang.Object
  extended by de.uplanet.security.SHA

@Scriptable
public final class SHA
extends java.lang.Object

Version:
$Revision: 55277 $

Constructor Summary
SHA()
           
 
Method Summary
static java.lang.String hash(byte[] p_buf)
          Hashes the given String using the SHA-1 algorithm.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SHA

public SHA()
Method Detail

hash

public static java.lang.String hash(byte[] p_buf)
Hashes the given String using the SHA-1 algorithm.

Parameters:
p_buf - The data to be hashed.
Returns:
The hashed string.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.