summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorFlorian Zschocke <f.zschocke+git@gmail.com>2023-10-15 16:25:58 +0200
committerFlorian Zschocke <f.zschocke+git@gmail.com>2023-10-15 16:25:58 +0200
commitfd2eb897e1386ded3b55f5a6075b5fc3258a5d31 (patch)
tree3d260f7c6ce593f76b657c1340bb12ed62c567e0 /.travis.yml
parentd9f496de093b64b2d701ea5d9cc6f7088ef6e4ac (diff)
downloadgitblit-fd2eb897e1386ded3b55f5a6075b5fc3258a5d31.tar.gz
gitblit-fd2eb897e1386ded3b55f5a6075b5fc3258a5d31.zip
Refactor StringUtils to provide message digest in common function
The calculation of a MD5 and SHA-1 sum are all message digest implementations. Instead or replicating the same code over and over again, provide a common function for message digest calculation which can do this for different algorithms based on the algorithm name passed as a parameter. Then replace the existing `getMD5` and `getSHA1` functions by calling the common function passing the respective algorithm name.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions