aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src/main/java/com/juick/components
diff options
context:
space:
mode:
Diffstat (limited to 'juick-xmpp/src/main/java/com/juick/components')
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/s2s/util/DialbackUtils.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/s2s/util/DialbackUtils.java b/juick-xmpp/src/main/java/com/juick/components/s2s/util/DialbackUtils.java
index 3bb786e5..980c2d6a 100644
--- a/juick-xmpp/src/main/java/com/juick/components/s2s/util/DialbackUtils.java
+++ b/juick-xmpp/src/main/java/com/juick/components/s2s/util/DialbackUtils.java
@@ -7,6 +7,10 @@ import org.apache.commons.codec.digest.HmacUtils;
* Created by vitalyster on 05.12.2016.
*/
public class DialbackUtils {
+ private DialbackUtils() {
+ throw new IllegalStateException();
+ }
+
public static String generateDialbackKey(String secret, String to, String from, String id) {
return HmacUtils.hmacSha256Hex(DigestUtils.sha256(secret),
(to + " " + from + " " + id).getBytes());