From: Niki Roo Date: Mon, 22 Apr 2019 19:23:28 +0000 (+0200) Subject: CryptUtils: jdoc and code should agree X-Git-Tag: fanfix-swing-0.0.1~21^2~142 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=b1ed544b1e56261ddcd02952bd6e9522f3f75258;p=fanfix-swing.git CryptUtils: jdoc and code should agree --- 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(); } }