Package com.github.twitch4j.common.util
Class CryptoUtils
java.lang.Object
com.github.twitch4j.common.util.CryptoUtils
public class CryptoUtils
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CryptoUtils() -
Method Summary
Modifier and Type Method Description static java.lang.StringgenerateNonce(int length)static byte[]hexToBytes(java.lang.String hex)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CryptoUtils
public CryptoUtils()
-
-
Method Details
-
generateNonce
public static java.lang.String generateNonce(int length) -
hexToBytes
public static byte[] hexToBytes(java.lang.String hex)
-