Package com.iplanet.services.util
Class Hash
- java.lang.Object
-
- com.iplanet.services.util.Hash
-
-
Constructor Summary
Constructors Constructor Description Hash()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Stringhash(String string)Deprecated.Generates a SHA1 digest of the string and returns BASE64 encoded digest.static voidmain(String[] args)Deprecated.Hash of the provided string or string read from a file specified with a "-f" option
-
-
-
Method Detail
-
hash
public static String hash(String string)
Deprecated.Generates a SHA1 digest of the string and returns BASE64 encoded digest.- Parameters:
string- a string to be hashed return a BASE64 encoded hashed String or null if an error occurred
-
main
public static void main(String[] args)
Deprecated.Hash of the provided string or string read from a file specified with a "-f" option
-
-