From: Niki Roo Date: Mon, 22 Apr 2019 19:23:28 +0000 (+0200) Subject: CryptUtils: jdoc and code should agree X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=b1ed544b1e56261ddcd02952bd6e9522f3f75258;p=fanfix-jexer.git CryptUtils: jdoc and code should agree --- diff --git a/src/be/nikiroo/utils/CryptUtils.java b/src/be/nikiroo/utils/CryptUtils.java index d5413d7..8d39ccf 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(); } }