Package net.sourceforge.plantuml.utils
Class SignatureUtils
java.lang.Object
net.sourceforge.plantuml.utils.SignatureUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic byte[]static Stringstatic byte[]getSHA512raw(byte[] data) static byte[]static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic byte[]static StringtoHexString(byte[] data) static StringtoString(byte[] data)
-
Constructor Details
-
SignatureUtils
public SignatureUtils()
-
-
Method Details
-
salting
public static byte[] salting(String pass, byte[] salt) throws NoSuchAlgorithmException, InvalidKeySpecException -
getSignature
-
toString
-
toHexString
-
getMD5Hex
-
getSHA512Hex
-
getMD5raw
public static byte[] getMD5raw(String s) throws NoSuchAlgorithmException, UnsupportedEncodingException -
getSHA512raw
public static byte[] getSHA512raw(String s) throws NoSuchAlgorithmException, UnsupportedEncodingException -
getSHA512raw
public static byte[] getSHA512raw(byte[] data) throws NoSuchAlgorithmException, UnsupportedEncodingException -
getSignatureSha512
- Throws:
IOException
-
getSignatureSha512
- Throws:
IOException
-
getSignatureWithoutImgSrc
-
purge
-
getSignature
- Throws:
IOException
-