Replaced Helma MD5 implementation with Apache Commons Codec.

This commit is contained in:
Daniel Ruthardt 2017-09-25 13:12:09 +02:00 committed by Tobi Schäfer
parent f6656f7b4d
commit be233eba03
2 changed files with 1 additions and 1 deletions

View file

@ -394,7 +394,7 @@ String.prototype.unwrap = function(removeTags, replacement) {
* @return String md5 hash of the string
*/
String.prototype.md5 = function() {
return Packages.helma.util.MD5Encoder.encode(this);
return Packages.org.apache.commons.codec.digest.DigestUtils.md5Hex(this);
};

BIN
modules/helmaTools.zip Normal file

Binary file not shown.