From b1ed544b1e56261ddcd02952bd6e9522f3f75258 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Mon, 22 Apr 2019 21:23:28 +0200 Subject: [PATCH] CryptUtils: jdoc and code should agree --- src/be/nikiroo/utils/CryptUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/be/nikiroo/utils/CryptUtils.java b/src/be/nikiroo/utils/CryptUtils.java index d5413d7c..8d39ccfa 100644 --- a/src/be/nikiroo/utils/CryptUtils.java +++ b/src/be/nikiroo/utils/CryptUtils.java @@ -279,6 +279,6 @@ public class CryptUtils { * @return a 128 bits key computed from the given input */ static private byte[] key2key(String input) { - return StringUtils.getMd5Hash(input).getBytes(); + return StringUtils.getMd5Hash("" + input).getBytes(); } } -- 2.27.0