git://git.nikiroo.be
/
nikiroo-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fb03c3
)
CryptUtils: jdoc and code should agree
author
Niki Roo
<niki@nikiroo.be>
Mon, 22 Apr 2019 19:23:28 +0000
(21:23 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Mon, 22 Apr 2019 19:23:28 +0000
(21:23 +0200)
src/be/nikiroo/utils/CryptUtils.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/utils/CryptUtils.java
b/src/be/nikiroo/utils/CryptUtils.java
index d5413d7c392f6856405b3b25e0fcab989ff4de68..8d39ccfa9e5a15d4e7db1e4650987464ea0cc973 100644
(file)
--- 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();
}
}