diff --git a/SabreTools.Security.Cryptography/N3DSEncryptionSettings.cs b/SabreTools.Security.Cryptography/N3DSEncryptionSettings.cs index f2d711b..5ac3597 100644 --- a/SabreTools.Security.Cryptography/N3DSEncryptionSettings.cs +++ b/SabreTools.Security.Cryptography/N3DSEncryptionSettings.cs @@ -277,7 +277,7 @@ namespace SabreTools.Security.Cryptography /// /// Key to test /// True if the key was valid, false otherwise - public bool ValidateKeyX0x18(byte[]? key) + public static bool ValidateKeyX0x18(byte[]? key) { // Missing key data is considered invalid if (key is null || key.Length == 0) @@ -294,7 +294,7 @@ namespace SabreTools.Security.Cryptography /// /// Key to test /// True if the key was valid, false otherwise - public bool ValidateDevKeyX0x18(byte[]? key) + public static bool ValidateDevKeyX0x18(byte[]? key) { // Missing key data is considered invalid if (key is null || key.Length == 0) @@ -311,7 +311,7 @@ namespace SabreTools.Security.Cryptography /// /// Key to test /// True if the key was valid, false otherwise - public bool ValidateKeyX0x1B(byte[]? key) + public static bool ValidateKeyX0x1B(byte[]? key) { // Missing key data is considered invalid if (key is null || key.Length == 0) @@ -328,7 +328,7 @@ namespace SabreTools.Security.Cryptography /// /// Key to test /// True if the key was valid, false otherwise - public bool ValidateDevKeyX0x1B(byte[]? key) + public static bool ValidateDevKeyX0x1B(byte[]? key) { // Missing key data is considered invalid if (key is null || key.Length == 0) @@ -345,7 +345,7 @@ namespace SabreTools.Security.Cryptography /// /// Key to test /// True if the key was valid, false otherwise - public bool ValidateKeyX0x25(byte[]? key) + public static bool ValidateKeyX0x25(byte[]? key) { // Missing key data is considered invalid if (key is null || key.Length == 0) @@ -362,7 +362,7 @@ namespace SabreTools.Security.Cryptography /// /// Key to test /// True if the key was valid, false otherwise - public bool ValidateDevKeyX0x25(byte[]? key) + public static bool ValidateDevKeyX0x25(byte[]? key) { // Missing key data is considered invalid if (key is null || key.Length == 0) @@ -379,7 +379,7 @@ namespace SabreTools.Security.Cryptography /// /// Key to test /// True if the key was valid, false otherwise - public bool ValidateKeyX0x2C(byte[]? key) + public static bool ValidateKeyX0x2C(byte[]? key) { // Missing key data is considered invalid if (key is null || key.Length == 0) @@ -396,7 +396,7 @@ namespace SabreTools.Security.Cryptography /// /// Key to test /// True if the key was valid, false otherwise - public bool ValidateDevKeyX0x2C(byte[]? key) + public static bool ValidateDevKeyX0x2C(byte[]? key) { // Missing key data is considered invalid if (key is null || key.Length == 0)