org.gcube.dataanalysis.ecoengine.utils
Class Sha1

java.lang.Object
  extended by org.gcube.dataanalysis.ecoengine.utils.Sha1

public class Sha1
extends Object


Constructor Summary
Sha1()
           
 
Method Summary
static String calcFilePrefix(String filestring)
           
static String calculateDigestMD5(String plainText)
           
static String SHA1(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sha1

public Sha1()
Method Detail

SHA1

public static String SHA1(String text)
                   throws NoSuchAlgorithmException,
                          UnsupportedEncodingException
Throws:
NoSuchAlgorithmException
UnsupportedEncodingException

calcFilePrefix

public static String calcFilePrefix(String filestring)

calculateDigestMD5

public static String calculateDigestMD5(String plainText)


Copyright © 2013. All Rights Reserved.