PureStorage.AzureNative.Util.ps1

function New-RandomPassword {
    param (
        [int]$length = 16,
        [int]$specialCharCount = 4
    )
    
    if ($length -lt 8) {
        throw "Password length should be at least 8 characters."
    }

    if ($specialCharCount -gt $length) {
        throw "Number of special characters cannot exceed total length of the password."
    }

    $upperCaseCount = [math]::Ceiling(($length - $specialCharCount) / 3)
    $lowerCaseCount = [math]::Ceiling(($length - $specialCharCount) / 3)
    $numberCount    = ($length - $specialCharCount) - $upperCaseCount - $lowerCaseCount

    $upperCase = 1..$upperCaseCount | ForEach-Object { [char[]]([char]'A'..[char]'Z') | Get-SecureRandom }
    $lowerCase = 1..$lowerCaseCount | ForEach-Object { [char[]]([char]'a'..[char]'z') | Get-SecureRandom }
    $numbers   = 1..$numberCount | ForEach-Object { [char[]]([char]'0'..[char]'9') | Get-SecureRandom }
    $special   = 1..$specialCharCount | ForEach-Object { ([char[]]"!@#$%^&*()_+-=[]{}|;:',.<>?") | Get-SecureRandom }

    $passwordChars = $upperCase + $lowerCase + $numbers + $special
    $password = ($passwordChars | Sort-Object { Get-SecureRandom }) -join ""

    return $password
}

function Get-EncryptedSignature {
    param (
        [Parameter(Mandatory = $true)]
        [string]$Text,
        [Parameter(Mandatory = $true)]
        [string]$PrivateKey
    )

    $hashAlgorithm = [System.Security.Cryptography.HashAlgorithmName]::SHA256

    # Convert the private key from PEM format to an RSA object
    $rsaKey = [System.Security.Cryptography.RSA]::Create()
    $rsaKey.ImportFromPem($PrivateKey)

    $bytesToEncrypt = [System.Text.Encoding]::UTF8.GetBytes($Text)

    $signature = $rsaKey.SignData($bytesToEncrypt, $hashAlgorithm, [System.Security.Cryptography.RSASignaturePadding]::Pkcs1)

    # Convert the encrypted byte array to a base64 string
    $Signature64 = [Convert]::ToBase64String($signature)

    return $Signature64
}

function Test-TextSignarure {
    param (
        [Parameter(Mandatory = $true)]
        [string]$Text,
        [Parameter(Mandatory = $true)]
        [string]$Signature,
        [Parameter(Mandatory = $true)]
        [string]$PublicKey
    )
    
    $key = $PublicKey -replace "-----BEGIN PUBLIC KEY-----", "" -replace "-----END PUBLIC KEY-----", ""
    $key = [Convert]::FromBase64String($key)

    $hashAlgorithm = [System.Security.Cryptography.HashAlgorithmName]::SHA256

    # Convert the private key from PEM format to an RSA object
    $rsaKey = [System.Security.Cryptography.RSA]::Create()
    $rsaKey.ImportSubjectPublicKeyInfo($key, [ref]0)
    
    # Convert the base64-encoded encrypted text to a byte array
    $SignatureBytes = [Convert]::FromBase64String($Signature)

    $TextBytes = [System.Text.Encoding]::UTF8.GetBytes($Text)
    $IsValid =  $rsaKey.VerifyData($TextBytes, $SignatureBytes, $hashAlgorithm, [System.Security.Cryptography.RSASignaturePadding]::Pkcs1)
    
    return $IsValid
}

function Test-RequestDatetimeInUTC {
    param (
        [Parameter(Mandatory = $true)]
        [string]$RequestDatetime,
        [Parameter(Mandatory = $true)]
        [int]$TimeWindowInMinutes
    )
    # Check time window to validate the request
    $requestDatetimeUTC = Get-Date -AsUTC -Date $RequestDatetime
    $currentDatetimeUTC = Get-Date -AsUTC
    if ($requestDatetimeUTC.AddMinutes($TimeWindowInMinutes) -lt $currentDatetimeUTC) {
        throw "Request is outside the time window: $TimeWindowInMinutes minutes"
    }
}

function ConvertTo-EncryptedText {
    param (
        [Parameter(Mandatory = $true)]
        [string]$Text,
        [Parameter(Mandatory = $true)]
        [string]$PublicKey
    )

    # Convert the private key from PEM format to an RSA object
    $rsaKey = [System.Security.Cryptography.RSA]::Create()
    $rsaKey.ImportFromPem($PublicKey)
 
    # Convert the text to a byte array
    $bytesToEncrypt = [System.Text.Encoding]::UTF8.GetBytes($Text)

    # Encrypt the byte array using the key
    $encryptedBytes = $rsaKey.Encrypt($bytesToEncrypt, [System.Security.Cryptography.RSAEncryptionPadding]::Pkcs1)

    # Convert the encrypted byte array to a base64 string
    $encryptedText = [Convert]::ToBase64String($encryptedBytes)

    return $encryptedText
}

function ConvertFrom-EncryptedText {
    param (
        [Parameter(Mandatory = $true)]
        [string]$EncryptedText,
        [Parameter(Mandatory = $true)]
        [string]$PrivateKey
    )

    # Convert the private key from PEM format to an RSA object
    $rsaKey = [System.Security.Cryptography.RSA]::Create()
    $rsaKey.ImportFromPem($PrivateKey)

    # Convert the base64-encoded encrypted text to a byte array
    $encryptedBytes = [Convert]::FromBase64String($EncryptedText)

    # Decrypt the byte array using the key
    $decryptedBytes = $rsaKey.Decrypt($encryptedBytes, [System.Security.Cryptography.RSAEncryptionPadding]::Pkcs1)

    # Convert the decrypted byte array back to a string
    $decryptedText = [System.Text.Encoding]::UTF8.GetString($decryptedBytes)

    return $decryptedText
}

function ConvertFrom-Base64 {
    param (
        [Parameter(Mandatory = $true)]
        [string]$Base64Text
    )

    $bytes = [Convert]::FromBase64String($Base64Text)
    $text = [System.Text.Encoding]::UTF8.GetString($bytes)

    return $text
}

function ConvertTo-Base64 {
    param (
        [Parameter(Mandatory = $true)]
        [string]$Text
    )

    $bytes = [System.Text.Encoding]::UTF8.GetBytes($Text)
    $base64Text = [Convert]::ToBase64String($bytes)

    return $base64Text
}

# SIG # Begin signature block
# MIIuggYJKoZIhvcNAQcCoIIuczCCLm8CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAsyMtgoywqD40F
# W4kbeYc5ZZ7hIeNoHqxD6YTKfUHibqCCE2gwggVyMIIDWqADAgECAhB2U/6sdUZI
# k/Xl10pIOk74MA0GCSqGSIb3DQEBDAUAMFMxCzAJBgNVBAYTAkJFMRkwFwYDVQQK
# ExBHbG9iYWxTaWduIG52LXNhMSkwJwYDVQQDEyBHbG9iYWxTaWduIENvZGUgU2ln
# bmluZyBSb290IFI0NTAeFw0yMDAzMTgwMDAwMDBaFw00NTAzMTgwMDAwMDBaMFMx
# CzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWx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