From: Niki Roo Date: Mon, 22 Apr 2019 19:23:28 +0000 (+0200) Subject: CryptUtils: jdoc and code should agree X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=commitdiff_plain;h=b1ed544b1e56261ddcd02952bd6e9522f3f75258;hp=9fb03c36d7d48a3009e3a83b6cd14fe2a8eea1ad 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(); } }