Skip to content

Commit dc7eccc

Browse files
author
eanolue@sbsc.com
committed
clean up
1 parent 1d3e017 commit dc7eccc

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/Encryption/AesEncryption/BaseAesEncryption.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ internal static byte[] EncryptAES(ByteEncryptionParameters param)
5252
}
5353
}
5454
}
55-
catch (Exception ex)
55+
catch (Exception)
5656
{
5757
throw;
5858
}
@@ -102,9 +102,8 @@ internal static byte[] DecryptAES(ByteDecryptionParameters param)
102102
}
103103
}
104104
}
105-
catch (Exception ex)
105+
catch (Exception)
106106
{
107-
108107
throw;
109108
}
110109
}

src/Encryption/AesEncryption/Models/Encrypt/EncryptionData.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public class EncryptionData
2323
public string SecretKey { get; set; }
2424

2525
public bool HasError { get; set; }
26+
2627
public List<string> Errors { get; set; } = new List<string>();
2728
}
2829
}

src/Helpers/Converters.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public static byte[] HexadecimalStringToByteArray(this string input)
3737
}
3838
return output;
3939
}
40+
4041
/// <summary>
4142
/// Converts a string to its hexadecimal representation.
4243
/// </summary>

src/Helpers/Validators.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public static void ValidateNotNull(EncryptionParameters parameters)
3535
throw new ArgumentNullException(nameof(parameters.IV), "IV property cannot be null.");
3636
}
3737
}
38+
3839
public static void ValidateNotNull(DecryptionParameters parameters)
3940
{
4041
if (parameters == null)

0 commit comments

Comments
 (0)