From 4ad99b0a91ce49c9d71283d9d26ea41ff80f8777 Mon Sep 17 00:00:00 2001 From: Luc Weishar <71008362+Luc-Wshr@users.noreply.github.com> Date: Mon, 31 Oct 2022 11:41:59 +0100 Subject: [PATCH] Fixed "EnryptFile" typo on line 122 --- Scripts/encrypt-file.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/encrypt-file.ps1 b/Scripts/encrypt-file.ps1 index 63b517e8..4d0cac1a 100755 --- a/Scripts/encrypt-file.ps1 +++ b/Scripts/encrypt-file.ps1 @@ -119,7 +119,7 @@ try { $StopWatch = [system.diagnostics.stopwatch]::startNew() $PasswordBase64 = [System.Convert]::ToBase64String($Password) - EnryptFile "$Path" -Algorithm AES -KeyAsPlainText $PasswordBase64 -RemoveSource + EncryptFile "$Path" -Algorithm AES -KeyAsPlainText $PasswordBase64 -RemoveSource [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds "✔️ file encrypted in $Elapsed sec" @@ -127,4 +127,4 @@ try { } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +}