Examples/Vulnerable_CustomCryptographicAlgorithm_1.ps1

class MyCustomDigest : System.Security.Cryptography.HashAlgorithm {
    [void] Initialize() {}
    [byte[]] HashFinal() { return [byte[]]::new(0) }
    [void] HashCore([byte[]]$array, [int]$ibStart, [int]$cbSize) {}
}