From 5d56f8ff5760ddedaf44eaf9652000e833b0944e Mon Sep 17 00:00:00 2001 From: Richard Kuhnt Date: Sun, 29 Jul 2018 21:36:56 +0200 Subject: [PATCH] format_hash(): format hashes to lowercase --- lib/core.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core.ps1 b/lib/core.ps1 index aff3eb84f..50e965593 100644 --- a/lib/core.ps1 +++ b/lib/core.ps1 @@ -560,6 +560,7 @@ function substitute($entity, [Hashtable] $params) { } function format_hash([String] $hash) { + $hash = $hash.toLower() switch ($hash.Length) { 32 { $hash = "md5:$hash" } # md5