Skip to content

Commit 5bc7fe7

Browse files
committed
Formatting
1 parent 06519e7 commit 5bc7fe7

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

src/KeeperData.Crypto.Tool/Program.cs

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@
3434
var cryptoTransform = host.Services.GetRequiredService<IAesCryptoTransform>();
3535

3636
Console.WriteLine($"Encrypting '{inputFile}' to '{outputFile}'...");
37-
37+
3838
try
3939
{
4040
await cryptoTransform.EncryptFileAsync(
41-
inputFile,
42-
outputFile,
43-
password,
41+
inputFile,
42+
outputFile,
43+
password,
4444
salt,
45-
(progress, status) =>
45+
(progress, status) =>
4646
{
4747
Console.Write($"\rProgress: {progress}% - {status}");
4848
});
49-
49+
5050
Console.WriteLine("\nEncryption completed successfully!");
5151
}
5252
catch (Exception ex)
@@ -74,19 +74,19 @@ await cryptoTransform.EncryptFileAsync(
7474
var cryptoTransform = host.Services.GetRequiredService<IAesCryptoTransform>();
7575

7676
Console.WriteLine($"Decrypting '{inputFile}' to '{outputFile}'...");
77-
77+
7878
try
7979
{
8080
await cryptoTransform.DecryptFileAsync(
81-
inputFile,
82-
outputFile,
83-
password,
81+
inputFile,
82+
outputFile,
83+
password,
8484
salt,
85-
(progress, status) =>
85+
(progress, status) =>
8686
{
8787
Console.Write($"\rProgress: {progress}% - {status}");
8888
});
89-
89+
9090
Console.WriteLine("\nDecryption completed successfully!");
9191
}
9292
catch (Exception ex)
@@ -143,5 +143,4 @@ await cryptoTransform.DecryptFileAsync(
143143
rootCommand.Add(generateFilenameCommand);
144144

145145
var parseResult = rootCommand.Parse(args);
146-
return await parseResult.InvokeAsync();
147-
146+
return await parseResult.InvokeAsync();

0 commit comments

Comments
 (0)