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