Package net.sourceforge.plantuml.utils
Class SignatureUtils
java.lang.Object
net.sourceforge.plantuml.utils.SignatureUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static byte[]
static String
static byte[]
getSHA512raw
(byte[] data) static byte[]
static String
static String
static String
static String
static String
static String
static byte[]
static String
toHexString
(byte[] data) static String
toString
(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
-