Functions/Data/Convert-StringToMD4.ps1
Function Convert-StringToMD4 { [cmdletbinding()] Param ( # String to Convert (Case sensitive) [Parameter(Mandatory=$true,ValueFromPipeline=$true)] [string] $String ) Process { $Bytes = $([Text.Encoding]::Unicode.GetBytes($String)) $Hash = Get-MD4Hash -DataToHash $Bytes $Hash } } |