diff --git a/CapyKit/CapyKit.csproj b/CapyKit/CapyKit.csproj index 5e7c51b..8b7df7b 100644 --- a/CapyKit/CapyKit.csproj +++ b/CapyKit/CapyKit.csproj @@ -1,10 +1,19 @@  - - net8.0 - enable - enable - True - + + net8.0 + enable + enable + True + README.md + 1.0.2 + + + + + True + \ + + diff --git a/CapyKit/Helpers/SecurityHelper.cs b/CapyKit/Helpers/SecurityHelper.cs index 9f58541..fecdc18 100644 --- a/CapyKit/Helpers/SecurityHelper.cs +++ b/CapyKit/Helpers/SecurityHelper.cs @@ -100,7 +100,7 @@ namespace CapyKit.Helpers /// public static Password GetPassword(string password, params object[] args) { - var salt = SecurityHelper.GetRandomBytes(SecurityHelper.SALT_SIZE); + var salt = SecurityHelper.GetSalt; return GetPassword(password, salt, args); } @@ -278,11 +278,29 @@ namespace CapyKit.Helpers return buffer.ToString(); } + /// Generates a random byte array that can act as a salt. + /// + /// A default length of is provided as a sane default. Larger values can be used for increased + /// entropy. + /// + /// (Optional) The desired length of the generated byte array. + /// An array of byte. + public static byte[] GetSalt(int length = SALT_SIZE) + { + return GetRandomBytes(length); + } + /// Generates a new byte array of the specified length with random values. /// The desired length of the generated byte array. /// A new byte array of the specified length filled with random values. private static byte[] GetRandomBytes(int length) { + if(length <= 0) + { + CapyEventReporter.EmitEvent(EventLevel.Error, "Length must be greater than 0."); + return GetRandomBytes(16); + } + var buffer = new byte[length]; using (var rng = RandomNumberGenerator.Create()) { diff --git a/Documentation/ContentLayout.content b/Documentation/ContentLayout.content index dce8e69..7ba0c2c 100644 --- a/Documentation/ContentLayout.content +++ b/Documentation/ContentLayout.content @@ -1,6 +1,6 @@  - + diff --git a/Documentation/Help/849aa079-3d64-4cf1-966f-44af23c73160.md b/Documentation/Help/849aa079-3d64-4cf1-966f-44af23c73160.md deleted file mode 100644 index a9b780c..0000000 --- a/Documentation/Help/849aa079-3d64-4cf1-966f-44af23c73160.md +++ /dev/null @@ -1,27 +0,0 @@ -# CapyKit - C# Utilities - -This is a sample conceptual topic. You can use this as a starting point for adding more conceptual content to your help project. - - -## Getting Started - -To get started, add a documentation source to the project (a Visual Studio solution, project, or assembly and XML comments file). See the **Getting Started** topics in the Sandcastle Help File Builder's help file for more information. The following default items are included in this project: -
  • ContentLayout.content - Use the content layout file to manage the conceptual content in the project and define its layout in the table of contents.

  • - -The .\media folder - Place images in this folder that you will reference from conceptual content using medialLink or mediaLinkInline elements. If you will not have any images in the file, you may remove this folder.

  • - -The .\icons folder - This contains a default logo for the help file. You may replace it or remove it and the folder if not wanted. If removed or if you change the file name, update the Transform Args project properties page by removing or changing the filename in the logoFile transform argument. Note that unlike images referenced from conceptual topics, the logo file should have its BuildAction property set to Content.

  • - -The .\Content folder - Use this to store your conceptual topics. You may name the files and organize them however you like. One suggestion is to lay the files out on disk as you have them in the content layout file as shown in this project but the choice is yours. Files can be added via the Solution Explorer or from within the content layout file editor. Files must appear in the content layout file in order to be compiled into the help file.

- - - - -See the **Conceptual Content** topics in the Sandcastle Help File Builder's help file for more information. See the **Sandcastle MAML Guide** for details on Microsoft Assistance Markup Language (MAML) which is used to create these topics. - - -## See Also - - -#### Other Resources -[7d36447b-0aab-4ce9-b5ed-e60ec5bee103] diff --git a/Documentation/Help/F_CapyKit_CapyEventReporter_uniqueIdentifiers.md b/Documentation/Help/F_CapyKit_CapyEventReporter_uniqueIdentifiers.md index da508ae..ebd7cf2 100644 --- a/Documentation/Help/F_CapyKit_CapyEventReporter_uniqueIdentifiers.md +++ b/Documentation/Help/F_CapyKit_CapyEventReporter_uniqueIdentifiers.md @@ -7,7 +7,7 @@ A hash set storing unique identifiers for events intended to only be emitted onc ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_EARTH_RADIUS_KILOMETERS.md b/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_EARTH_RADIUS_KILOMETERS.md index 777c5d2..2426a1e 100644 --- a/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_EARTH_RADIUS_KILOMETERS.md +++ b/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_EARTH_RADIUS_KILOMETERS.md @@ -7,7 +7,7 @@ The earth's radius in kilometers. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_MILES_PER_KILOMETER.md b/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_MILES_PER_KILOMETER.md index fdbad0f..e03bec3 100644 --- a/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_MILES_PER_KILOMETER.md +++ b/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_MILES_PER_KILOMETER.md @@ -7,7 +7,7 @@ Ratio of miles per kilometer . ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_chars.md b/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_chars.md index 457bb61..e8986ea 100644 --- a/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_chars.md +++ b/Documentation/Help/F_CapyKit_Helpers_CalculationHelper_chars.md @@ -7,7 +7,7 @@ The valid hexidecimal characters. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_EncryptionHelper_encryptionKey.md b/Documentation/Help/F_CapyKit_Helpers_EncryptionHelper_encryptionKey.md index 8e199db..8ecd21d 100644 --- a/Documentation/Help/F_CapyKit_Helpers_EncryptionHelper_encryptionKey.md +++ b/Documentation/Help/F_CapyKit_Helpers_EncryptionHelper_encryptionKey.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_LOWER_CASE_CHARACTERS.md b/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_LOWER_CASE_CHARACTERS.md index 4129067..2102328 100644 --- a/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_LOWER_CASE_CHARACTERS.md +++ b/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_LOWER_CASE_CHARACTERS.md @@ -7,7 +7,7 @@ A string of all the lower case characters. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_NUMBER_CHARACTERS.md b/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_NUMBER_CHARACTERS.md index 02f1ab6..5f093d8 100644 --- a/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_NUMBER_CHARACTERS.md +++ b/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_NUMBER_CHARACTERS.md @@ -7,7 +7,7 @@ A string of all the numeric characters. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_SALT_SIZE.md b/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_SALT_SIZE.md index 66241dd..233fd9a 100644 --- a/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_SALT_SIZE.md +++ b/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_SALT_SIZE.md @@ -7,7 +7,7 @@ Default size to use when generating a new salt. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_SPECIAL_CHARACTERS.md b/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_SPECIAL_CHARACTERS.md index c65f8b5..ad166cd 100644 --- a/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_SPECIAL_CHARACTERS.md +++ b/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_SPECIAL_CHARACTERS.md @@ -7,7 +7,7 @@ A string of the most common non-alphanumeric characters. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_UPPER_CASE_CHARACTERS.md b/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_UPPER_CASE_CHARACTERS.md index 65e6cb5..fead002 100644 --- a/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_UPPER_CASE_CHARACTERS.md +++ b/Documentation/Help/F_CapyKit_Helpers_SecurityHelper_UPPER_CASE_CHARACTERS.md @@ -7,7 +7,7 @@ A string of all the upper case characters. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_SettingsHelper_accessor.md b/Documentation/Help/F_CapyKit_Helpers_SettingsHelper_accessor.md index 07de635..65e5c4b 100644 --- a/Documentation/Help/F_CapyKit_Helpers_SettingsHelper_accessor.md +++ b/Documentation/Help/F_CapyKit_Helpers_SettingsHelper_accessor.md @@ -7,7 +7,7 @@ Private delegate function that retrieves a setting with the given `key`. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Helpers_SettingsHelper_detector.md b/Documentation/Help/F_CapyKit_Helpers_SettingsHelper_detector.md index ff1f3fd..2aec8d0 100644 --- a/Documentation/Help/F_CapyKit_Helpers_SettingsHelper_detector.md +++ b/Documentation/Help/F_CapyKit_Helpers_SettingsHelper_detector.md @@ -7,7 +7,7 @@ Private delegate function that detects if a setting with a given `key` exists. R ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Password_pbkdf2Algorithm.md b/Documentation/Help/F_CapyKit_Password_pbkdf2Algorithm.md index 3236cd3..6f25590 100644 --- a/Documentation/Help/F_CapyKit_Password_pbkdf2Algorithm.md +++ b/Documentation/Help/F_CapyKit_Password_pbkdf2Algorithm.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Pbkdf2Algorithm_ITERATIONS.md b/Documentation/Help/F_CapyKit_Pbkdf2Algorithm_ITERATIONS.md index 326a4a9..371015f 100644 --- a/Documentation/Help/F_CapyKit_Pbkdf2Algorithm_ITERATIONS.md +++ b/Documentation/Help/F_CapyKit_Pbkdf2Algorithm_ITERATIONS.md @@ -7,7 +7,7 @@ The default number of iterations. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Pbkdf2Algorithm_LENGTH.md b/Documentation/Help/F_CapyKit_Pbkdf2Algorithm_LENGTH.md index 496b597..196b2c5 100644 --- a/Documentation/Help/F_CapyKit_Pbkdf2Algorithm_LENGTH.md +++ b/Documentation/Help/F_CapyKit_Pbkdf2Algorithm_LENGTH.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_PoolItem_1_index.md b/Documentation/Help/F_CapyKit_PoolItem_1_index.md index fd339f7..acb8a76 100644 --- a/Documentation/Help/F_CapyKit_PoolItem_1_index.md +++ b/Documentation/Help/F_CapyKit_PoolItem_1_index.md @@ -7,7 +7,7 @@ The zero-based index of the pooled item. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_PoolItem_1_item.md b/Documentation/Help/F_CapyKit_PoolItem_1_item.md index b24426e..ed795c9 100644 --- a/Documentation/Help/F_CapyKit_PoolItem_1_item.md +++ b/Documentation/Help/F_CapyKit_PoolItem_1_item.md @@ -7,7 +7,7 @@ The pooled item. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_PoolItem_1_locked.md b/Documentation/Help/F_CapyKit_PoolItem_1_locked.md index d61fd4d..cf14bc6 100644 --- a/Documentation/Help/F_CapyKit_PoolItem_1_locked.md +++ b/Documentation/Help/F_CapyKit_PoolItem_1_locked.md @@ -7,7 +7,7 @@ A flag indicating whether the item is locked or not. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_PoolItem_1_typeName.md b/Documentation/Help/F_CapyKit_PoolItem_1_typeName.md index 8c7d2be..87488bf 100644 --- a/Documentation/Help/F_CapyKit_PoolItem_1_typeName.md +++ b/Documentation/Help/F_CapyKit_PoolItem_1_typeName.md @@ -7,7 +7,7 @@ The name of the pooled item CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Pool_1_poolItemCollection.md b/Documentation/Help/F_CapyKit_Pool_1_poolItemCollection.md index d1adbc4..b605351 100644 --- a/Documentation/Help/F_CapyKit_Pool_1_poolItemCollection.md +++ b/Documentation/Help/F_CapyKit_Pool_1_poolItemCollection.md @@ -7,7 +7,7 @@ The collection of pooled items. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_Pool_1_poolSize.md b/Documentation/Help/F_CapyKit_Pool_1_poolSize.md index f80dc82..62d5afb 100644 --- a/Documentation/Help/F_CapyKit_Pool_1_poolSize.md +++ b/Documentation/Help/F_CapyKit_Pool_1_poolSize.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_CapyKit_PropertyComparer_2_expression.md b/Documentation/Help/F_CapyKit_PropertyComparer_2_expression.md index f672804..05beb81 100644 --- a/Documentation/Help/F_CapyKit_PropertyComparer_2_expression.md +++ b/Documentation/Help/F_CapyKit_PropertyComparer_2_expression.md @@ -7,7 +7,7 @@ The expression to retrieve the property. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/F_Tests_Helpers_SecurityHelperTests_Password.md b/Documentation/Help/F_Tests_Helpers_SecurityHelperTests_Password.md new file mode 100644 index 0000000..8308cae --- /dev/null +++ b/Documentation/Help/F_Tests_Helpers_SecurityHelperTests_Password.md @@ -0,0 +1,31 @@ +# Password Field + + +\[Missing <summary> documentation for "F:Tests.Helpers.SecurityHelperTests.Password"\] + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +private const string Password = "TestPassword" +``` +**F#** +``` F# +static val mutable private Password: string +``` + + + +#### Field Value +String + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/F_Tests_Helpers_SecurityHelperTests_Salt.md b/Documentation/Help/F_Tests_Helpers_SecurityHelperTests_Salt.md new file mode 100644 index 0000000..f6e35c5 --- /dev/null +++ b/Documentation/Help/F_Tests_Helpers_SecurityHelperTests_Salt.md @@ -0,0 +1,31 @@ +# Salt Field + + +\[Missing <summary> documentation for "F:Tests.Helpers.SecurityHelperTests.Salt"\] + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +private static readonly byte[] Salt +``` +**F#** +``` F# +static val private Salt: byte[] +``` + + + +#### Field Value +Byte[] + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/F_Tests_StringExtensions_Replacement.md b/Documentation/Help/F_Tests_StringExtensionTests_Replacement.md similarity index 84% rename from Documentation/Help/F_Tests_StringExtensions_Replacement.md rename to Documentation/Help/F_Tests_StringExtensionTests_Replacement.md index 940c109..81d09df 100644 --- a/Documentation/Help/F_Tests_StringExtensions_Replacement.md +++ b/Documentation/Help/F_Tests_StringExtensionTests_Replacement.md @@ -1,7 +1,7 @@ # Replacement Field -\[Missing <summary> documentation for "F:Tests.StringExtensions.Replacement"\] +\[Missing <summary> documentation for "F:Tests.StringExtensionTests.Replacement"\] @@ -27,5 +27,5 @@ static val mutable private Replacement: string #### Reference -StringExtensions Class +StringExtensionTests Class Tests Namespace diff --git a/Documentation/Help/Fields_T_Tests_Helpers_SecurityHelperTests.md b/Documentation/Help/Fields_T_Tests_Helpers_SecurityHelperTests.md new file mode 100644 index 0000000..254e1ac --- /dev/null +++ b/Documentation/Help/Fields_T_Tests_Helpers_SecurityHelperTests.md @@ -0,0 +1,21 @@ +# SecurityHelperTests Fields + + + + +## Fields + + + + + + + +
Password 
Salt 
+ +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/Fields_T_Tests_StringExtensionTests.md b/Documentation/Help/Fields_T_Tests_StringExtensionTests.md new file mode 100644 index 0000000..69d91c2 --- /dev/null +++ b/Documentation/Help/Fields_T_Tests_StringExtensionTests.md @@ -0,0 +1,18 @@ +# StringExtensionTests Fields + + + + +## Fields + + + + +
Replacement 
+ +## See Also + + +#### Reference +StringExtensionTests Class +Tests Namespace diff --git a/Documentation/Help/Fields_T_Tests_StringExtensions.md b/Documentation/Help/Fields_T_Tests_StringExtensions.md deleted file mode 100644 index 9bb583a..0000000 --- a/Documentation/Help/Fields_T_Tests_StringExtensions.md +++ /dev/null @@ -1,18 +0,0 @@ -# StringExtensions Fields - - - - -## Fields - - - - -
Replacement 
- -## See Also - - -#### Reference -StringExtensions Class -Tests Namespace diff --git a/Documentation/Help/Home.md b/Documentation/Help/Home.md index a9b780c..079dbe5 100644 --- a/Documentation/Help/Home.md +++ b/Documentation/Help/Home.md @@ -1,23 +1,11 @@ # CapyKit - C# Utilities -This is a sample conceptual topic. You can use this as a starting point for adding more conceptual content to your help project. +Version [TODO: Version] was released on [TODO: Date]. -## Getting Started +## Changes in This Release +
  • [TODO: Add change items here]

-To get started, add a documentation source to the project (a Visual Studio solution, project, or assembly and XML comments file). See the **Getting Started** topics in the Sandcastle Help File Builder's help file for more information. The following default items are included in this project: -
  • ContentLayout.content - Use the content layout file to manage the conceptual content in the project and define its layout in the table of contents.

  • - -The .\media folder - Place images in this folder that you will reference from conceptual content using medialLink or mediaLinkInline elements. If you will not have any images in the file, you may remove this folder.

  • - -The .\icons folder - This contains a default logo for the help file. You may replace it or remove it and the folder if not wanted. If removed or if you change the file name, update the Transform Args project properties page by removing or changing the filename in the logoFile transform argument. Note that unlike images referenced from conceptual topics, the logo file should have its BuildAction property set to Content.

  • - -The .\Content folder - Use this to store your conceptual topics. You may name the files and organize them however you like. One suggestion is to lay the files out on disk as you have them in the content layout file as shown in this project but the choice is yours. Files can be added via the Solution Explorer or from within the content layout file editor. Files must appear in the content layout file in order to be compiled into the help file.

- - - - -See the **Conceptual Content** topics in the Sandcastle Help File Builder's help file for more information. See the **Sandcastle MAML Guide** for details on Microsoft Assistance Markup Language (MAML) which is used to create these topics. ## See Also diff --git a/Documentation/Help/M_CapyKit_Attributes_EnumerationAttribute_1__ctor.md b/Documentation/Help/M_CapyKit_Attributes_EnumerationAttribute_1__ctor.md index f99e237..3058fa6 100644 --- a/Documentation/Help/M_CapyKit_Attributes_EnumerationAttribute_1__ctor.md +++ b/Documentation/Help/M_CapyKit_Attributes_EnumerationAttribute_1__ctor.md @@ -7,7 +7,7 @@ Gets the value of the enumeration represented by this attribute. ## Definition **Namespace:** CapyKit.Attributes -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Attributes_EnumerationDescriptionAttribute__ctor.md b/Documentation/Help/M_CapyKit_Attributes_EnumerationDescriptionAttribute__ctor.md index 1ab3c06..1f12a23 100644 --- a/Documentation/Help/M_CapyKit_Attributes_EnumerationDescriptionAttribute__ctor.md +++ b/Documentation/Help/M_CapyKit_Attributes_EnumerationDescriptionAttribute__ctor.md @@ -7,7 +7,7 @@ Initializes a new instance of the CapyKit.Attributes -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute_GetFormatParameterizedString.md b/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute_GetFormatParameterizedString.md index aaea897..46ba5ae 100644 --- a/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute_GetFormatParameterizedString.md +++ b/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute_GetFormatParameterizedString.md @@ -7,7 +7,7 @@ Gets a parameterized formatted string for the specified index. ## Definition **Namespace:** CapyKit.Attributes -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute__ctor.md b/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute__ctor.md index 75a6a45..710dfdc 100644 --- a/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute__ctor.md +++ b/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute__ctor.md @@ -7,7 +7,7 @@ Default constructor. Initializes a new instance of the CapyKit.Attributes -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute__ctor_1.md b/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute__ctor_1.md index 44acc73..88a3678 100644 --- a/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute__ctor_1.md +++ b/Documentation/Help/M_CapyKit_Attributes_ValueFormatAttribute__ctor_1.md @@ -7,7 +7,7 @@ Constructor. Initializes a new instance of the CapyKit.Attributes -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_CapyEventArgs__ctor.md b/Documentation/Help/M_CapyKit_CapyEventArgs__ctor.md index 656358a..8a385f7 100644 --- a/Documentation/Help/M_CapyKit_CapyEventArgs__ctor.md +++ b/Documentation/Help/M_CapyKit_CapyEventArgs__ctor.md @@ -7,7 +7,7 @@ Initializes a new instance of the CapyEventArgs class with the specified event l ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_CapyEventReporter_EmitEvent.md b/Documentation/Help/M_CapyKit_CapyEventReporter_EmitEvent.md index 22679d8..79617fa 100644 --- a/Documentation/Help/M_CapyKit_CapyEventReporter_EmitEvent.md +++ b/Documentation/Help/M_CapyKit_CapyEventReporter_EmitEvent.md @@ -7,7 +7,7 @@ Emits an event with the given severity level, message, and method name. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_CapyEventReporter_EmitEventOnce.md b/Documentation/Help/M_CapyKit_CapyEventReporter_EmitEventOnce.md index 39a420c..fb1604f 100644 --- a/Documentation/Help/M_CapyKit_CapyEventReporter_EmitEventOnce.md +++ b/Documentation/Help/M_CapyKit_CapyEventReporter_EmitEventOnce.md @@ -7,7 +7,7 @@ Emits an event with the given severity level, message, unique identifier, and me ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_CapyEventReporter_Subscribe.md b/Documentation/Help/M_CapyKit_CapyEventReporter_Subscribe.md index 6b59e8f..6a2667f 100644 --- a/Documentation/Help/M_CapyKit_CapyEventReporter_Subscribe.md +++ b/Documentation/Help/M_CapyKit_CapyEventReporter_Subscribe.md @@ -7,7 +7,7 @@ Subscribes the specified event handler to the event with the given subscription ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_CapyEventReporter_Unsubscribe.md b/Documentation/Help/M_CapyKit_CapyEventReporter_Unsubscribe.md index 9d187de..f4ce1fa 100644 --- a/Documentation/Help/M_CapyKit_CapyEventReporter_Unsubscribe.md +++ b/Documentation/Help/M_CapyKit_CapyEventReporter_Unsubscribe.md @@ -7,7 +7,7 @@ Unsubscribes the specified event handler from the event with the given origin. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_CapyEventReporter__cctor.md b/Documentation/Help/M_CapyKit_CapyEventReporter__cctor.md index a0a3b3b..7cfbf2a 100644 --- a/Documentation/Help/M_CapyKit_CapyEventReporter__cctor.md +++ b/Documentation/Help/M_CapyKit_CapyEventReporter__cctor.md @@ -7,7 +7,7 @@ Initializes the static fields of the Ca ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_EncryptedValue_1__ctor.md b/Documentation/Help/M_CapyKit_EncryptedValue_1__ctor.md index f57f350..e66bc59 100644 --- a/Documentation/Help/M_CapyKit_EncryptedValue_1__ctor.md +++ b/Documentation/Help/M_CapyKit_EncryptedValue_1__ctor.md @@ -7,7 +7,7 @@ Initializes a new instance of the Encryp ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetDescription.md b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetDescription.md index 211fda4..47466bb 100644 --- a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetDescription.md +++ b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetDescription.md @@ -7,7 +7,7 @@ An CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetName.md b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetName.md index f16b2c8..3f856d4 100644 --- a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetName.md +++ b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetName.md @@ -7,7 +7,7 @@ An CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetPrettyName.md b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetPrettyName.md index 1d4105f..c8846d8 100644 --- a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetPrettyName.md +++ b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetPrettyName.md @@ -7,7 +7,7 @@ An CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetValue.md b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetValue.md index bbe927e..2410590 100644 --- a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetValue.md +++ b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_GetValue.md @@ -7,7 +7,7 @@ An CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_Parse__1.md b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_Parse__1.md index 4ae73ae..5acf6b4 100644 --- a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_Parse__1.md +++ b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_Parse__1.md @@ -7,7 +7,7 @@ A *T* extension method that parses a string into an enumeration. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_Parse__1_1.md b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_Parse__1_1.md index 4611b77..c4d41dd 100644 --- a/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_Parse__1_1.md +++ b/Documentation/Help/M_CapyKit_Extensions_EnumerationExtensions_Parse__1_1.md @@ -7,7 +7,7 @@ A *T* extension method that parses a string into an enumeration. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Distinct__2.md b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Distinct__2.md index da320d0..e9d861c 100644 --- a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Distinct__2.md +++ b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Distinct__2.md @@ -7,7 +7,7 @@ Enumerates distinct items in this collection as defined by the key *property*. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Filter__1.md b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Filter__1.md index 26f3f35..d8d2b01 100644 --- a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Filter__1.md +++ b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Filter__1.md @@ -7,7 +7,7 @@ Filters out items matching a *predicate* from the collection. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Filter__1_1.md b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Filter__1_1.md index abbaccf..f2b5cb9 100644 --- a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Filter__1_1.md +++ b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Filter__1_1.md @@ -7,7 +7,7 @@ Filters out items matching a *predicate* from the collection. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4.md b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4.md index ed67780..36abaf3 100644 --- a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4.md +++ b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4.md @@ -7,7 +7,7 @@ An IEnumable<T> extension method that left outer join. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4_1.md b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4_1.md index 8be52b5..cc20bc0 100644 --- a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4_1.md +++ b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4_1.md @@ -7,7 +7,7 @@ An IQueryable<T> extension method that left outer join. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4_2.md b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4_2.md index 0fab33a..718ebb4 100644 --- a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4_2.md +++ b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_LeftOuterJoin__4_2.md @@ -7,7 +7,7 @@ An IQueryable<T> extension method that left outer join. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_PageCount__1.md b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_PageCount__1.md index d4dad69..8662316 100644 --- a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_PageCount__1.md +++ b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_PageCount__1.md @@ -7,7 +7,7 @@ The number of pages of *pageSize* size in the given collection. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_PageCount__1_1.md b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_PageCount__1_1.md index 7cc6bec..b415adb 100644 --- a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_PageCount__1_1.md +++ b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_PageCount__1_1.md @@ -7,7 +7,7 @@ The number of pages of *pageSize* size in the given collection. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Page__1.md b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Page__1.md index 74df094..75b1743 100644 --- a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Page__1.md +++ b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Page__1.md @@ -7,7 +7,7 @@ Get a page of items from a collection, skipping *pageNumber* pages of *pageSize* ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Page__1_1.md b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Page__1_1.md index 7f35261..080f06e 100644 --- a/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Page__1_1.md +++ b/Documentation/Help/M_CapyKit_Extensions_LINQExtensions_Page__1_1.md @@ -7,7 +7,7 @@ Get a page of items from a collection, skipping *pageNumber* pages of *pageSize* ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_StringExtensions_IfNullOrEmpty.md b/Documentation/Help/M_CapyKit_Extensions_StringExtensions_IfNullOrEmpty.md index 00b6d31..8dc972f 100644 --- a/Documentation/Help/M_CapyKit_Extensions_StringExtensions_IfNullOrEmpty.md +++ b/Documentation/Help/M_CapyKit_Extensions_StringExtensions_IfNullOrEmpty.md @@ -7,7 +7,7 @@ Replaces a null or empty string with a specified replacement string. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Extensions_StringExtensions_IfNullOrWhiteSpace.md b/Documentation/Help/M_CapyKit_Extensions_StringExtensions_IfNullOrWhiteSpace.md index b9224b0..db44c57 100644 --- a/Documentation/Help/M_CapyKit_Extensions_StringExtensions_IfNullOrWhiteSpace.md +++ b/Documentation/Help/M_CapyKit_Extensions_StringExtensions_IfNullOrWhiteSpace.md @@ -7,7 +7,7 @@ Replaces a null or whitespace string with a specified replacement string. ## Definition **Namespace:** CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_CalculateHash.md b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_CalculateHash.md index 8b2a0dc..9a7223b 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_CalculateHash.md +++ b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_CalculateHash.md @@ -7,7 +7,7 @@ Calculates the hash of a given string using an CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_CalculateHexHash.md b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_CalculateHexHash.md index 07ce2a8..2deba62 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_CalculateHexHash.md +++ b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_CalculateHexHash.md @@ -7,7 +7,7 @@ Calculates the hexadecimal hash. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_DegreesToRadians.md b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_DegreesToRadians.md index 3cd35c2..0adda4b 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_DegreesToRadians.md +++ b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_DegreesToRadians.md @@ -7,7 +7,7 @@ Convers degrees to radians. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_GetDistance.md b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_GetDistance.md index 50937a3..073b882 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_GetDistance.md +++ b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_GetDistance.md @@ -7,7 +7,7 @@ Gets the distance between two points on earth using the `haversine` formula. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_GetDistance_1.md b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_GetDistance_1.md index bff9246..5b5c15b 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_GetDistance_1.md +++ b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_GetDistance_1.md @@ -7,7 +7,7 @@ Gets the distance between two points on earth using the `haversine` formula. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_KilometersToMiles.md b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_KilometersToMiles.md index da17e87..cae0b20 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_KilometersToMiles.md +++ b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_KilometersToMiles.md @@ -7,7 +7,7 @@ Converts kilometers to miles. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_MilesToKilometers.md b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_MilesToKilometers.md index fc87480..f47e184 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_MilesToKilometers.md +++ b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_MilesToKilometers.md @@ -7,7 +7,7 @@ Converts miles to kilometers. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_RadiansToDegrees.md b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_RadiansToDegrees.md index f7ce870..ff988ad 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_RadiansToDegrees.md +++ b/Documentation/Help/M_CapyKit_Helpers_CalculationHelper_RadiansToDegrees.md @@ -7,7 +7,7 @@ Converts radians to degrees. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Compress.md b/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Compress.md index a4e5adf..a1a298b 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Compress.md +++ b/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Compress.md @@ -7,7 +7,7 @@ Compresses a given object using the `gzip` algorithm. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_CompressToString.md b/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_CompressToString.md index 88a27fe..82af704 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_CompressToString.md +++ b/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_CompressToString.md @@ -7,7 +7,7 @@ Compresses a given object to a string using `base64` encoding of `gzip` format. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_DecompressToString.md b/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_DecompressToString.md index 69d1481..8e9cc24 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_DecompressToString.md +++ b/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_DecompressToString.md @@ -7,7 +7,7 @@ Decompresses the given `base64` string in `gzip` format. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Decompress__1.md b/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Decompress__1.md index 8be696a..3234969 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Decompress__1.md +++ b/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Decompress__1.md @@ -7,7 +7,7 @@ Decompresses a given compressed `gzip` byte stream. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Decompress__1_1.md b/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Decompress__1_1.md index 70f07f8..b6bcb4f 100644 --- a/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Decompress__1_1.md +++ b/Documentation/Help/M_CapyKit_Helpers_CompressionHelper_Decompress__1_1.md @@ -7,7 +7,7 @@ Decompresses a given `base64` encoded string of `gzip` format. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_EncryptionHelper__ctor.md b/Documentation/Help/M_CapyKit_Helpers_EncryptionHelper__ctor.md index bbc467d..9c041c3 100644 --- a/Documentation/Help/M_CapyKit_Helpers_EncryptionHelper__ctor.md +++ b/Documentation/Help/M_CapyKit_Helpers_EncryptionHelper__ctor.md @@ -7,7 +7,7 @@ Initializes a new instance of the CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_IEncryptionAlgorithm_Decrypt__1.md b/Documentation/Help/M_CapyKit_Helpers_IEncryptionAlgorithm_Decrypt__1.md index 55fbaaa..6837732 100644 --- a/Documentation/Help/M_CapyKit_Helpers_IEncryptionAlgorithm_Decrypt__1.md +++ b/Documentation/Help/M_CapyKit_Helpers_IEncryptionAlgorithm_Decrypt__1.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_IEncryptionAlgorithm_Encrypt__1.md b/Documentation/Help/M_CapyKit_Helpers_IEncryptionAlgorithm_Encrypt__1.md index f60d5e9..d6eb039 100644 --- a/Documentation/Help/M_CapyKit_Helpers_IEncryptionAlgorithm_Encrypt__1.md +++ b/Documentation/Help/M_CapyKit_Helpers_IEncryptionAlgorithm_Encrypt__1.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_LanguageHelper_CamelCaseToHumanReadable.md b/Documentation/Help/M_CapyKit_Helpers_LanguageHelper_CamelCaseToHumanReadable.md index 1f96a5e..12791be 100644 --- a/Documentation/Help/M_CapyKit_Helpers_LanguageHelper_CamelCaseToHumanReadable.md +++ b/Documentation/Help/M_CapyKit_Helpers_LanguageHelper_CamelCaseToHumanReadable.md @@ -7,7 +7,7 @@ Converts camel case text to human readable text. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_LanguageHelper__ctor.md b/Documentation/Help/M_CapyKit_Helpers_LanguageHelper__ctor.md index f2e125c..6dd041e 100644 --- a/Documentation/Help/M_CapyKit_Helpers_LanguageHelper__ctor.md +++ b/Documentation/Help/M_CapyKit_Helpers_LanguageHelper__ctor.md @@ -7,7 +7,7 @@ Initializes a new instance of the ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareHashedPassword.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareHashedPassword.md index 17b8413..e50e486 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareHashedPassword.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareHashedPassword.md @@ -7,7 +7,7 @@ Compares an unencrypted *password* with a stored, encrypted *existingPassword*. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareHashedPassword__1.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareHashedPassword__1.md index a7e17bc..20805ec 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareHashedPassword__1.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareHashedPassword__1.md @@ -7,7 +7,7 @@ Compares an unencrypted *password* with a stored, encrypted *existingPassword*. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareSessionID.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareSessionID.md index 1f3d688..2abfa63 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareSessionID.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareSessionID.md @@ -7,7 +7,7 @@ Compares two session identifiers. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareStrings.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareStrings.md index 9b26c4a..4cda0e2 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareStrings.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareStrings.md @@ -7,7 +7,7 @@ Compare two strings as case sensative. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetPassword__1.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetPassword__1.md index 685c41b..d8a08b4 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetPassword__1.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetPassword__1.md @@ -7,7 +7,7 @@ Retrieves a Password object using the specif ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetPassword__1_1.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetPassword__1_1.md index 8f16d4c..6d3af4f 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetPassword__1_1.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetPassword__1_1.md @@ -7,7 +7,7 @@ Retrieves a Password object using the specif ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomBytes.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomBytes.md index 6732430..596978f 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomBytes.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomBytes.md @@ -7,7 +7,7 @@ Generates a new byte array of the specified length with random values. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomPassword.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomPassword.md index 1cacbdc..3cd8b12 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomPassword.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomPassword.md @@ -7,7 +7,7 @@ Gets a cryptographically strong random password. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomString.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomString.md index 490598d..0dfe8ed 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomString.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomString.md @@ -7,7 +7,7 @@ A convenience method to generate a random string of the specified length using a ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomString_1.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomString_1.md index c815580..afcb575 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomString_1.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomString_1.md @@ -7,7 +7,7 @@ Gets a cryptographically strong random string using the character values found i ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetSalt.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetSalt.md new file mode 100644 index 0000000..dc91e1d --- /dev/null +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetSalt.md @@ -0,0 +1,45 @@ +# GetSalt Method + + +Generates a random byte array that can act as a salt. + + + +## Definition +**Namespace:** CapyKit.Helpers +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 + +**C#** +``` C# +public static byte[] GetSalt( + int length = 32 +) +``` +**F#** +``` F# +static member GetSalt : + ?length : int +(* Defaults: + let _length = defaultArg length 32 +*) +-> byte[] +``` + + + +#### Parameters +
  Int32  (Optional)
(Optional) The desired length of the generated byte array.
+ +#### Return Value +Byte[] +An array of byte. + +## Remarks +A default length of SALT_SIZE is provided as a sane default. Larger values can be used for increased entropy. + +## See Also + + +#### Reference +SecurityHelper Class +CapyKit.Helpers Namespace diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetValidCharacterComposition.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetValidCharacterComposition.md index 98d4b9d..8e77c2b 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetValidCharacterComposition.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetValidCharacterComposition.md @@ -7,7 +7,7 @@ Static method that returns a valid character composition based on the given Vali ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_Pbkdf2.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_Pbkdf2.md index 68ef968..48d9aff 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_Pbkdf2.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_Pbkdf2.md @@ -7,7 +7,7 @@ Generates a new Password object using the PB ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_Pbkdf2_1.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_Pbkdf2_1.md index d6e1a6d..e098c9a 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_Pbkdf2_1.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_Pbkdf2_1.md @@ -7,7 +7,7 @@ Generates a new Password object using the PB ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper__ctor.md b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper__ctor.md index 50dd73e..c48ebfe 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SecurityHelper__ctor.md +++ b/Documentation/Help/M_CapyKit_Helpers_SecurityHelper__ctor.md @@ -7,7 +7,7 @@ Initializes a new instance of the ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1.md b/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1.md index 4166924..ff8c810 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1.md +++ b/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1.md @@ -7,7 +7,7 @@ Deserializes an object to a given *T* type. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1_1.md b/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1_1.md index 39db726..c2cf48a 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1_1.md +++ b/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1_1.md @@ -7,7 +7,7 @@ Deserializes an object to a given *T* type. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1_2.md b/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1_2.md index c5dbe5b..543602d 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1_2.md +++ b/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1_2.md @@ -7,7 +7,7 @@ Deserializes a `JSON` encoded string to the given *T*. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_SerializeToBytes.md b/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_SerializeToBytes.md index e948224..394d9c1 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_SerializeToBytes.md +++ b/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_SerializeToBytes.md @@ -7,7 +7,7 @@ Serializes an object to a byte array. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_SerializeToString.md b/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_SerializeToString.md index 6e122c4..f522e7d 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_SerializeToString.md +++ b/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_SerializeToString.md @@ -7,7 +7,7 @@ Serializes an object to a `JSON` encoded string. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_GetApplicationSetting__1.md b/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_GetApplicationSetting__1.md index bd34ef8..99cf26c 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_GetApplicationSetting__1.md +++ b/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_GetApplicationSetting__1.md @@ -7,7 +7,7 @@ Retrieves a setting with the given `key`. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_SetAccessorMethod.md b/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_SetAccessorMethod.md index a8a075a..cc6dc07 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_SetAccessorMethod.md +++ b/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_SetAccessorMethod.md @@ -7,7 +7,7 @@ Sets the function used to retrieve application settings. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_SetDetectorMethod.md b/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_SetDetectorMethod.md index b20ea0a..c073c12 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_SetDetectorMethod.md +++ b/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_SetDetectorMethod.md @@ -7,7 +7,7 @@ Sets the function used to detect if an application setting with a given `key` ex ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Helpers_SettingsHelper__cctor.md b/Documentation/Help/M_CapyKit_Helpers_SettingsHelper__cctor.md index be3366c..5cce33b 100644 --- a/Documentation/Help/M_CapyKit_Helpers_SettingsHelper__cctor.md +++ b/Documentation/Help/M_CapyKit_Helpers_SettingsHelper__cctor.md @@ -7,7 +7,7 @@ Initializes the static fields of the CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_IPasswordAlgorithm_Compare.md b/Documentation/Help/M_CapyKit_IPasswordAlgorithm_Compare.md index e41d3a4..6ea73b7 100644 --- a/Documentation/Help/M_CapyKit_IPasswordAlgorithm_Compare.md +++ b/Documentation/Help/M_CapyKit_IPasswordAlgorithm_Compare.md @@ -7,7 +7,7 @@ Compares the given plaintext password with an encrypted value using PBKDF2 algor ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_IPasswordAlgorithm_Encrypt.md b/Documentation/Help/M_CapyKit_IPasswordAlgorithm_Encrypt.md index f131f35..86d5ed7 100644 --- a/Documentation/Help/M_CapyKit_IPasswordAlgorithm_Encrypt.md +++ b/Documentation/Help/M_CapyKit_IPasswordAlgorithm_Encrypt.md @@ -7,7 +7,7 @@ Encrypts the given password using a defined algorithm. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Password_Equals.md b/Documentation/Help/M_CapyKit_Password_Equals.md index 70e01ee..050eb2b 100644 --- a/Documentation/Help/M_CapyKit_Password_Equals.md +++ b/Documentation/Help/M_CapyKit_Password_Equals.md @@ -7,7 +7,7 @@ Determines whether the specified object is equal to the current object. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Password_ToString.md b/Documentation/Help/M_CapyKit_Password_ToString.md index f5f96ae..6a44542 100644 --- a/Documentation/Help/M_CapyKit_Password_ToString.md +++ b/Documentation/Help/M_CapyKit_Password_ToString.md @@ -7,7 +7,7 @@ Returns a string that represents the current object. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Password__cctor.md b/Documentation/Help/M_CapyKit_Password__cctor.md index 9a69166..4f93361 100644 --- a/Documentation/Help/M_CapyKit_Password__cctor.md +++ b/Documentation/Help/M_CapyKit_Password__cctor.md @@ -7,7 +7,7 @@ Initializes the static fields of the PasswordCapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Password__ctor.md b/Documentation/Help/M_CapyKit_Password__ctor.md index ba77be7..992a922 100644 --- a/Documentation/Help/M_CapyKit_Password__ctor.md +++ b/Documentation/Help/M_CapyKit_Password__ctor.md @@ -7,7 +7,7 @@ Constructor. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Password_op_Equality.md b/Documentation/Help/M_CapyKit_Password_op_Equality.md index 3147058..b45b0c0 100644 --- a/Documentation/Help/M_CapyKit_Password_op_Equality.md +++ b/Documentation/Help/M_CapyKit_Password_op_Equality.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Password_op_Inequality.md b/Documentation/Help/M_CapyKit_Password_op_Inequality.md index 05c7af3..b42b208 100644 --- a/Documentation/Help/M_CapyKit_Password_op_Inequality.md +++ b/Documentation/Help/M_CapyKit_Password_op_Inequality.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Pbkdf2Algorithm_Encrypt.md b/Documentation/Help/M_CapyKit_Pbkdf2Algorithm_Encrypt.md index 51f2469..73e056c 100644 --- a/Documentation/Help/M_CapyKit_Pbkdf2Algorithm_Encrypt.md +++ b/Documentation/Help/M_CapyKit_Pbkdf2Algorithm_Encrypt.md @@ -7,7 +7,7 @@ Encrypts the given password using a PBKDF2 algorithm. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Pbkdf2Algorithm__ctor.md b/Documentation/Help/M_CapyKit_Pbkdf2Algorithm__ctor.md index 2e28fef..1ad9e1c 100644 --- a/Documentation/Help/M_CapyKit_Pbkdf2Algorithm__ctor.md +++ b/Documentation/Help/M_CapyKit_Pbkdf2Algorithm__ctor.md @@ -7,7 +7,7 @@ Initializes a new instance of the Pbkdf2A ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_PoolItem_1_ReleaseLock.md b/Documentation/Help/M_CapyKit_PoolItem_1_ReleaseLock.md index bdb9d54..91f8e2b 100644 --- a/Documentation/Help/M_CapyKit_PoolItem_1_ReleaseLock.md +++ b/Documentation/Help/M_CapyKit_PoolItem_1_ReleaseLock.md @@ -7,7 +7,7 @@ Releases the lock on the item. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_PoolItem_1_SetLock.md b/Documentation/Help/M_CapyKit_PoolItem_1_SetLock.md index b93cb85..490ed62 100644 --- a/Documentation/Help/M_CapyKit_PoolItem_1_SetLock.md +++ b/Documentation/Help/M_CapyKit_PoolItem_1_SetLock.md @@ -7,7 +7,7 @@ Sets the lock on the item indicating that it is in use. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_PoolItem_1_ToString.md b/Documentation/Help/M_CapyKit_PoolItem_1_ToString.md index 6737239..af2d95c 100644 --- a/Documentation/Help/M_CapyKit_PoolItem_1_ToString.md +++ b/Documentation/Help/M_CapyKit_PoolItem_1_ToString.md @@ -7,7 +7,7 @@ Returns a string that represents the current object and its lock state. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_PoolItem_1__ctor.md b/Documentation/Help/M_CapyKit_PoolItem_1__ctor.md index 841e7f3..d736af2 100644 --- a/Documentation/Help/M_CapyKit_PoolItem_1__ctor.md +++ b/Documentation/Help/M_CapyKit_PoolItem_1__ctor.md @@ -7,7 +7,7 @@ Initializes a new instance of the PoolItem(T)< ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection.md b/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection.md index cf2d166..76648ed 100644 --- a/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection.md +++ b/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection.md @@ -7,7 +7,7 @@ Fill the pool item collection from an existing *T* collection. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection_1.md b/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection_1.md index 1ef506f..b3f8c3c 100644 --- a/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection_1.md +++ b/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection_1.md @@ -7,7 +7,7 @@ Initializes the pool with the specified number of items using the default constr ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection_2.md b/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection_2.md index 21a7d62..e0508f7 100644 --- a/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection_2.md +++ b/Documentation/Help/M_CapyKit_Pool_1_FillPoolItemCollection_2.md @@ -7,7 +7,7 @@ Initializes the pool with the specified number of items using the specified cons ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Pool_1_GetAvailableItem.md b/Documentation/Help/M_CapyKit_Pool_1_GetAvailableItem.md index 2fc7a2e..7708a49 100644 --- a/Documentation/Help/M_CapyKit_Pool_1_GetAvailableItem.md +++ b/Documentation/Help/M_CapyKit_Pool_1_GetAvailableItem.md @@ -7,7 +7,7 @@ Gets the first available item from the pool and sets its lock. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Pool_1_ReleaseItem.md b/Documentation/Help/M_CapyKit_Pool_1_ReleaseItem.md index cea70f3..4c80142 100644 --- a/Documentation/Help/M_CapyKit_Pool_1_ReleaseItem.md +++ b/Documentation/Help/M_CapyKit_Pool_1_ReleaseItem.md @@ -7,7 +7,7 @@ Releases the lock on the specified item and returns it to the pool. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Pool_1__ctor.md b/Documentation/Help/M_CapyKit_Pool_1__ctor.md index 24d6908..d94cd4f 100644 --- a/Documentation/Help/M_CapyKit_Pool_1__ctor.md +++ b/Documentation/Help/M_CapyKit_Pool_1__ctor.md @@ -7,7 +7,7 @@ Initializes a new instance of the Pool(T) clas ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Pool_1__ctor_1.md b/Documentation/Help/M_CapyKit_Pool_1__ctor_1.md index 133e3d0..975f1fe 100644 --- a/Documentation/Help/M_CapyKit_Pool_1__ctor_1.md +++ b/Documentation/Help/M_CapyKit_Pool_1__ctor_1.md @@ -7,7 +7,7 @@ Initializes a new instance of the Pool(T) clas ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_Pool_1__ctor_2.md b/Documentation/Help/M_CapyKit_Pool_1__ctor_2.md index 2c1956d..030ba0e 100644 --- a/Documentation/Help/M_CapyKit_Pool_1__ctor_2.md +++ b/Documentation/Help/M_CapyKit_Pool_1__ctor_2.md @@ -7,7 +7,7 @@ Initializes a new instance of the Pool(T) clas ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_PropertyComparer_2_Equals.md b/Documentation/Help/M_CapyKit_PropertyComparer_2_Equals.md index 0fbf47f..426638d 100644 --- a/Documentation/Help/M_CapyKit_PropertyComparer_2_Equals.md +++ b/Documentation/Help/M_CapyKit_PropertyComparer_2_Equals.md @@ -7,7 +7,7 @@ Determines whether the specified properties are equal. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_PropertyComparer_2_GetHashCode.md b/Documentation/Help/M_CapyKit_PropertyComparer_2_GetHashCode.md index bd016c3..4ea0e0f 100644 --- a/Documentation/Help/M_CapyKit_PropertyComparer_2_GetHashCode.md +++ b/Documentation/Help/M_CapyKit_PropertyComparer_2_GetHashCode.md @@ -7,7 +7,7 @@ Returns a hash code for the specified object. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_CapyKit_PropertyComparer_2__ctor.md b/Documentation/Help/M_CapyKit_PropertyComparer_2__ctor.md index c638f6f..338da86 100644 --- a/Documentation/Help/M_CapyKit_PropertyComparer_2__ctor.md +++ b/Documentation/Help/M_CapyKit_PropertyComparer_2__ctor.md @@ -7,7 +7,7 @@ Constructor. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse.md b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse.md new file mode 100644 index 0000000..0f73c48 --- /dev/null +++ b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse.md @@ -0,0 +1,30 @@ +# CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse Method + + +\[Missing <summary> documentation for "M:Tests.Helpers.SecurityHelperTests.CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse"\] + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +[TestAttribute] +public void CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse() +``` +**F#** +``` F# +[] +member CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse : unit -> unit +``` + + + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareHashedPassword_WithSamePassword_ShouldReturnTrue.md b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareHashedPassword_WithSamePassword_ShouldReturnTrue.md new file mode 100644 index 0000000..599a9f1 --- /dev/null +++ b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareHashedPassword_WithSamePassword_ShouldReturnTrue.md @@ -0,0 +1,30 @@ +# CompareHashedPassword_WithSamePassword_ShouldReturnTrue Method + + +\[Missing <summary> documentation for "M:Tests.Helpers.SecurityHelperTests.CompareHashedPassword_WithSamePassword_ShouldReturnTrue"\] + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +[TestAttribute] +public void CompareHashedPassword_WithSamePassword_ShouldReturnTrue() +``` +**F#** +``` F# +[] +member CompareHashedPassword_WithSamePassword_ShouldReturnTrue : unit -> unit +``` + + + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse.md b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse.md new file mode 100644 index 0000000..f774c96 --- /dev/null +++ b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse.md @@ -0,0 +1,30 @@ +# CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse Method + + +\[Missing <summary> documentation for "M:Tests.Helpers.SecurityHelperTests.CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse"\] + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +[TestAttribute] +public void CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse() +``` +**F#** +``` F# +[] +member CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse : unit -> unit +``` + + + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareSessionID_WithSameSessionIDs_ShouldReturnTrue.md b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareSessionID_WithSameSessionIDs_ShouldReturnTrue.md new file mode 100644 index 0000000..0eb5a9f --- /dev/null +++ b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_CompareSessionID_WithSameSessionIDs_ShouldReturnTrue.md @@ -0,0 +1,30 @@ +# CompareSessionID_WithSameSessionIDs_ShouldReturnTrue Method + + +\[Missing <summary> documentation for "M:Tests.Helpers.SecurityHelperTests.CompareSessionID_WithSameSessionIDs_ShouldReturnTrue"\] + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +[TestAttribute] +public void CompareSessionID_WithSameSessionIDs_ShouldReturnTrue() +``` +**F#** +``` F# +[] +member CompareSessionID_WithSameSessionIDs_ShouldReturnTrue : unit -> unit +``` + + + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_GetRandomPassword_ShouldReturnStringOfGivenLength.md b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_GetRandomPassword_ShouldReturnStringOfGivenLength.md new file mode 100644 index 0000000..31cccb9 --- /dev/null +++ b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_GetRandomPassword_ShouldReturnStringOfGivenLength.md @@ -0,0 +1,30 @@ +# GetRandomPassword_ShouldReturnStringOfGivenLength Method + + +\[Missing <summary> documentation for "M:Tests.Helpers.SecurityHelperTests.GetRandomPassword_ShouldReturnStringOfGivenLength"\] + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +[TestAttribute] +public void GetRandomPassword_ShouldReturnStringOfGivenLength() +``` +**F#** +``` F# +[] +member GetRandomPassword_ShouldReturnStringOfGivenLength : unit -> unit +``` + + + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_GetRandomString_ShouldReturnStringOfGivenLength.md b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_GetRandomString_ShouldReturnStringOfGivenLength.md new file mode 100644 index 0000000..d59df49 --- /dev/null +++ b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_GetRandomString_ShouldReturnStringOfGivenLength.md @@ -0,0 +1,30 @@ +# GetRandomString_ShouldReturnStringOfGivenLength Method + + +\[Missing <summary> documentation for "M:Tests.Helpers.SecurityHelperTests.GetRandomString_ShouldReturnStringOfGivenLength"\] + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +[TestAttribute] +public void GetRandomString_ShouldReturnStringOfGivenLength() +``` +**F#** +``` F# +[] +member GetRandomString_ShouldReturnStringOfGivenLength : unit -> unit +``` + + + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash.md b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash.md new file mode 100644 index 0000000..a9c035d --- /dev/null +++ b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests_Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash.md @@ -0,0 +1,30 @@ +# Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash Method + + +\[Missing <summary> documentation for "M:Tests.Helpers.SecurityHelperTests.Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash"\] + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +[TestAttribute] +public void Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash() +``` +**F#** +``` F# +[] +member Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash : unit -> unit +``` + + + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/M_Tests_Helpers_SecurityHelperTests__cctor.md b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests__cctor.md new file mode 100644 index 0000000..9815d60 --- /dev/null +++ b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests__cctor.md @@ -0,0 +1,28 @@ +# SecurityHelperTests Constructor + + +Initializes the static fields of the SecurityHelperTests class + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +static SecurityHelperTests() +``` +**F#** +``` F# +new : unit -> SecurityHelperTests +``` + + + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/M_Tests_Helpers_SecurityHelperTests__ctor.md b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests__ctor.md new file mode 100644 index 0000000..9b7ac23 --- /dev/null +++ b/Documentation/Help/M_Tests_Helpers_SecurityHelperTests__ctor.md @@ -0,0 +1,28 @@ +# SecurityHelperTests Constructor + + +Initializes a new instance of the SecurityHelperTests class + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +public SecurityHelperTests() +``` +**F#** +``` F# +new : unit -> SecurityHelperTests +``` + + + +## See Also + + +#### Reference +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/M_Tests_Passwords_PasswordTests_GenerateSalt.md b/Documentation/Help/M_Tests_PasswordTests_GenerateSalt.md similarity index 67% rename from Documentation/Help/M_Tests_Passwords_PasswordTests_GenerateSalt.md rename to Documentation/Help/M_Tests_PasswordTests_GenerateSalt.md index dd14d06..b68629f 100644 --- a/Documentation/Help/M_Tests_Passwords_PasswordTests_GenerateSalt.md +++ b/Documentation/Help/M_Tests_PasswordTests_GenerateSalt.md @@ -1,7 +1,7 @@ # GenerateSalt Method -\[Missing <summary> documentation for "M:Tests.Passwords.PasswordTests.GenerateSalt(System.Int32)"\] +\[Missing <summary> documentation for "M:Tests.PasswordTests.GenerateSalt(System.Int32)"\] @@ -28,15 +28,15 @@ private static member GenerateSalt : #### Parameters -
  Int32  (Optional)
\[Missing <param name="size"/> documentation for "M:Tests.Passwords.PasswordTests.GenerateSalt(System.Int32)"\]
+
  Int32  (Optional)
\[Missing <param name="size"/> documentation for "M:Tests.PasswordTests.GenerateSalt(System.Int32)"\]
#### Return Value Byte[] -\[Missing <returns> documentation for "M:Tests.Passwords.PasswordTests.GenerateSalt(System.Int32)"\] +\[Missing <returns> documentation for "M:Tests.PasswordTests.GenerateSalt(System.Int32)"\] ## See Also #### Reference -Passwords.PasswordTests Class +PasswordTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordCreation_WithInvalidSalt_ReturnsEmptyHash.md b/Documentation/Help/M_Tests_PasswordTests_PasswordCreation_WithInvalidSalt_ReturnsEmptyHash.md similarity index 68% rename from Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordCreation_WithInvalidSalt_ReturnsEmptyHash.md rename to Documentation/Help/M_Tests_PasswordTests_PasswordCreation_WithInvalidSalt_ReturnsEmptyHash.md index 19b88a5..65fc80d 100644 --- a/Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordCreation_WithInvalidSalt_ReturnsEmptyHash.md +++ b/Documentation/Help/M_Tests_PasswordTests_PasswordCreation_WithInvalidSalt_ReturnsEmptyHash.md @@ -1,7 +1,7 @@ # PasswordCreation_WithInvalidSalt_ReturnsEmptyHash Method -\[Missing <summary> documentation for "M:Tests.Passwords.PasswordTests.PasswordCreation_WithInvalidSalt_ReturnsEmptyHash"\] +\[Missing <summary> documentation for "M:Tests.PasswordTests.PasswordCreation_WithInvalidSalt_ReturnsEmptyHash"\] @@ -26,5 +26,5 @@ member PasswordCreation_WithInvalidSalt_ReturnsEmptyHash : unit -> unit #### Reference -Passwords.PasswordTests Class +PasswordTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash.md b/Documentation/Help/M_Tests_PasswordTests_PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash.md similarity index 68% rename from Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash.md rename to Documentation/Help/M_Tests_PasswordTests_PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash.md index a812512..31cf50a 100644 --- a/Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash.md +++ b/Documentation/Help/M_Tests_PasswordTests_PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash.md @@ -1,7 +1,7 @@ # PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash Method -\[Missing <summary> documentation for "M:Tests.Passwords.PasswordTests.PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash"\] +\[Missing <summary> documentation for "M:Tests.PasswordTests.PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash"\] @@ -26,5 +26,5 @@ member PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash : unit -> unit #### Reference -Passwords.PasswordTests Class +PasswordTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordEquality_DifferentPasswords_AreNotEqual.md b/Documentation/Help/M_Tests_PasswordTests_PasswordEquality_DifferentPasswords_AreNotEqual.md similarity index 68% rename from Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordEquality_DifferentPasswords_AreNotEqual.md rename to Documentation/Help/M_Tests_PasswordTests_PasswordEquality_DifferentPasswords_AreNotEqual.md index 1112f63..da890c5 100644 --- a/Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordEquality_DifferentPasswords_AreNotEqual.md +++ b/Documentation/Help/M_Tests_PasswordTests_PasswordEquality_DifferentPasswords_AreNotEqual.md @@ -1,7 +1,7 @@ # PasswordEquality_DifferentPasswords_AreNotEqual Method -\[Missing <summary> documentation for "M:Tests.Passwords.PasswordTests.PasswordEquality_DifferentPasswords_AreNotEqual"\] +\[Missing <summary> documentation for "M:Tests.PasswordTests.PasswordEquality_DifferentPasswords_AreNotEqual"\] @@ -26,5 +26,5 @@ member PasswordEquality_DifferentPasswords_AreNotEqual : unit -> unit #### Reference -Passwords.PasswordTests Class +PasswordTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordEquality_DifferentSalts_AreNotEqual.md b/Documentation/Help/M_Tests_PasswordTests_PasswordEquality_DifferentSalts_AreNotEqual.md similarity index 68% rename from Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordEquality_DifferentSalts_AreNotEqual.md rename to Documentation/Help/M_Tests_PasswordTests_PasswordEquality_DifferentSalts_AreNotEqual.md index 83356b3..78ce648 100644 --- a/Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordEquality_DifferentSalts_AreNotEqual.md +++ b/Documentation/Help/M_Tests_PasswordTests_PasswordEquality_DifferentSalts_AreNotEqual.md @@ -1,7 +1,7 @@ # PasswordEquality_DifferentSalts_AreNotEqual Method -\[Missing <summary> documentation for "M:Tests.Passwords.PasswordTests.PasswordEquality_DifferentSalts_AreNotEqual"\] +\[Missing <summary> documentation for "M:Tests.PasswordTests.PasswordEquality_DifferentSalts_AreNotEqual"\] @@ -26,5 +26,5 @@ member PasswordEquality_DifferentSalts_AreNotEqual : unit -> unit #### Reference -Passwords.PasswordTests Class +PasswordTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordEquality_SamePasswordAndSalt_AreEqual.md b/Documentation/Help/M_Tests_PasswordTests_PasswordEquality_SamePasswordAndSalt_AreEqual.md similarity index 68% rename from Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordEquality_SamePasswordAndSalt_AreEqual.md rename to Documentation/Help/M_Tests_PasswordTests_PasswordEquality_SamePasswordAndSalt_AreEqual.md index f1d5c29..575896e 100644 --- a/Documentation/Help/M_Tests_Passwords_PasswordTests_PasswordEquality_SamePasswordAndSalt_AreEqual.md +++ b/Documentation/Help/M_Tests_PasswordTests_PasswordEquality_SamePasswordAndSalt_AreEqual.md @@ -1,7 +1,7 @@ # PasswordEquality_SamePasswordAndSalt_AreEqual Method -\[Missing <summary> documentation for "M:Tests.Passwords.PasswordTests.PasswordEquality_SamePasswordAndSalt_AreEqual"\] +\[Missing <summary> documentation for "M:Tests.PasswordTests.PasswordEquality_SamePasswordAndSalt_AreEqual"\] @@ -26,5 +26,5 @@ member PasswordEquality_SamePasswordAndSalt_AreEqual : unit -> unit #### Reference -Passwords.PasswordTests Class +PasswordTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_Passwords_PasswordTests_ToString_ReturnsCorrectFormat.md b/Documentation/Help/M_Tests_PasswordTests_ToString_ReturnsCorrectFormat.md similarity index 67% rename from Documentation/Help/M_Tests_Passwords_PasswordTests_ToString_ReturnsCorrectFormat.md rename to Documentation/Help/M_Tests_PasswordTests_ToString_ReturnsCorrectFormat.md index 24355f7..0d797d1 100644 --- a/Documentation/Help/M_Tests_Passwords_PasswordTests_ToString_ReturnsCorrectFormat.md +++ b/Documentation/Help/M_Tests_PasswordTests_ToString_ReturnsCorrectFormat.md @@ -1,7 +1,7 @@ # ToString_ReturnsCorrectFormat Method -\[Missing <summary> documentation for "M:Tests.Passwords.PasswordTests.ToString_ReturnsCorrectFormat"\] +\[Missing <summary> documentation for "M:Tests.PasswordTests.ToString_ReturnsCorrectFormat"\] @@ -26,5 +26,5 @@ member ToString_ReturnsCorrectFormat : unit -> unit #### Reference -Passwords.PasswordTests Class +PasswordTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_Passwords_PasswordTests__ctor.md b/Documentation/Help/M_Tests_PasswordTests__ctor.md similarity index 54% rename from Documentation/Help/M_Tests_Passwords_PasswordTests__ctor.md rename to Documentation/Help/M_Tests_PasswordTests__ctor.md index 70cc68e..1f0ed39 100644 --- a/Documentation/Help/M_Tests_Passwords_PasswordTests__ctor.md +++ b/Documentation/Help/M_Tests_PasswordTests__ctor.md @@ -1,7 +1,7 @@ -# Passwords.PasswordTests Constructor +# PasswordTests Constructor -Initializes a new instance of the Passwords.PasswordTests class +Initializes a new instance of the PasswordTests class @@ -24,5 +24,5 @@ new : unit -> PasswordTests #### Reference -Passwords.PasswordTests Class +PasswordTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_Passwords__ctor.md b/Documentation/Help/M_Tests_Passwords__ctor.md deleted file mode 100644 index 305febf..0000000 --- a/Documentation/Help/M_Tests_Passwords__ctor.md +++ /dev/null @@ -1,28 +0,0 @@ -# Passwords Constructor - - -Initializes a new instance of the Passwords class - - - -## Definition -**Namespace:** Tests -**Assembly:** Tests (in Tests.exe) Version: 1.0.0 - -**C#** -``` C# -public Passwords() -``` -**F#** -``` F# -new : unit -> Passwords -``` - - - -## See Also - - -#### Reference -Passwords Class -Tests Namespace diff --git a/Documentation/Help/M_Tests_StringExtensions_IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty.md b/Documentation/Help/M_Tests_StringExtensionTests_IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty.md similarity index 75% rename from Documentation/Help/M_Tests_StringExtensions_IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty.md rename to Documentation/Help/M_Tests_StringExtensionTests_IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty.md index f279893..d4254c0 100644 --- a/Documentation/Help/M_Tests_StringExtensions_IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty.md +++ b/Documentation/Help/M_Tests_StringExtensionTests_IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty.md @@ -1,7 +1,7 @@ # IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty Method -\[Missing <summary> documentation for "M:Tests.StringExtensions.IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty(System.String)"\] +\[Missing <summary> documentation for "M:Tests.StringExtensionTests.IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty(System.String)"\] @@ -28,11 +28,11 @@ member IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty : #### Parameters -
  String
\[Missing <param name="value"/> documentation for "M:Tests.StringExtensions.IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty(System.String)"\]
+
  String
\[Missing <param name="value"/> documentation for "M:Tests.StringExtensionTests.IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty(System.String)"\]
## See Also #### Reference -StringExtensions Class +StringExtensionTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_StringExtensions_IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty.md b/Documentation/Help/M_Tests_StringExtensionTests_IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty.md similarity index 74% rename from Documentation/Help/M_Tests_StringExtensions_IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty.md rename to Documentation/Help/M_Tests_StringExtensionTests_IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty.md index 8f92590..a13a1b8 100644 --- a/Documentation/Help/M_Tests_StringExtensions_IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty.md +++ b/Documentation/Help/M_Tests_StringExtensionTests_IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty.md @@ -1,7 +1,7 @@ # IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty Method -\[Missing <summary> documentation for "M:Tests.StringExtensions.IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty(System.String)"\] +\[Missing <summary> documentation for "M:Tests.StringExtensionTests.IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty(System.String)"\] @@ -26,11 +26,11 @@ member IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty : #### Parameters -
  String
\[Missing <param name="value"/> documentation for "M:Tests.StringExtensions.IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty(System.String)"\]
+
  String
\[Missing <param name="value"/> documentation for "M:Tests.StringExtensionTests.IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty(System.String)"\]
## See Also #### Reference -StringExtensions Class +StringExtensionTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_StringExtensions_IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace.md b/Documentation/Help/M_Tests_StringExtensionTests_IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace.md similarity index 74% rename from Documentation/Help/M_Tests_StringExtensions_IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace.md rename to Documentation/Help/M_Tests_StringExtensionTests_IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace.md index 4bf8262..13b0e6e 100644 --- a/Documentation/Help/M_Tests_StringExtensions_IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace.md +++ b/Documentation/Help/M_Tests_StringExtensionTests_IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace.md @@ -1,7 +1,7 @@ # IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace Method -\[Missing <summary> documentation for "M:Tests.StringExtensions.IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace(System.String)"\] +\[Missing <summary> documentation for "M:Tests.StringExtensionTests.IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace(System.String)"\] @@ -28,11 +28,11 @@ member IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitesp #### Parameters -
  String
\[Missing <param name="value"/> documentation for "M:Tests.StringExtensions.IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace(System.String)"\]
+
  String
\[Missing <param name="value"/> documentation for "M:Tests.StringExtensionTests.IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace(System.String)"\]
## See Also #### Reference -StringExtensions Class +StringExtensionTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_StringExtensions_IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace.md b/Documentation/Help/M_Tests_StringExtensionTests_IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace.md similarity index 74% rename from Documentation/Help/M_Tests_StringExtensions_IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace.md rename to Documentation/Help/M_Tests_StringExtensionTests_IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace.md index 8e9a828..4ae4ee9 100644 --- a/Documentation/Help/M_Tests_StringExtensions_IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace.md +++ b/Documentation/Help/M_Tests_StringExtensionTests_IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace.md @@ -1,7 +1,7 @@ # IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace Method -\[Missing <summary> documentation for "M:Tests.StringExtensions.IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace(System.String)"\] +\[Missing <summary> documentation for "M:Tests.StringExtensionTests.IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace(System.String)"\] @@ -28,11 +28,11 @@ member IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace : #### Parameters -
  String
\[Missing <param name="value"/> documentation for "M:Tests.StringExtensions.IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace(System.String)"\]
+
  String
\[Missing <param name="value"/> documentation for "M:Tests.StringExtensionTests.IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace(System.String)"\]
## See Also #### Reference -StringExtensions Class +StringExtensionTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_StringExtensions_Setup.md b/Documentation/Help/M_Tests_StringExtensionTests_Setup.md similarity index 80% rename from Documentation/Help/M_Tests_StringExtensions_Setup.md rename to Documentation/Help/M_Tests_StringExtensionTests_Setup.md index d0100f1..cce9d50 100644 --- a/Documentation/Help/M_Tests_StringExtensions_Setup.md +++ b/Documentation/Help/M_Tests_StringExtensionTests_Setup.md @@ -1,7 +1,7 @@ # Setup Method -\[Missing <summary> documentation for "M:Tests.StringExtensions.Setup"\] +\[Missing <summary> documentation for "M:Tests.StringExtensionTests.Setup"\] @@ -26,5 +26,5 @@ member Setup : unit -> unit #### Reference -StringExtensions Class +StringExtensionTests Class Tests Namespace diff --git a/Documentation/Help/M_Tests_StringExtensions__ctor.md b/Documentation/Help/M_Tests_StringExtensionTests__ctor.md similarity index 57% rename from Documentation/Help/M_Tests_StringExtensions__ctor.md rename to Documentation/Help/M_Tests_StringExtensionTests__ctor.md index b85fc54..0af2452 100644 --- a/Documentation/Help/M_Tests_StringExtensions__ctor.md +++ b/Documentation/Help/M_Tests_StringExtensionTests__ctor.md @@ -1,7 +1,7 @@ -# StringExtensions Constructor +# StringExtensionTests Constructor -Initializes a new instance of the StringExtensions class +Initializes a new instance of the StringExtensionTests class @@ -11,11 +11,11 @@ Initializes a new instance of the StringEx **C#** ``` C# -public StringExtensions() +public StringExtensionTests() ``` **F#** ``` F# -new : unit -> StringExtensions +new : unit -> StringExtensionTests ``` @@ -24,5 +24,5 @@ new : unit -> StringExtensions #### Reference -StringExtensions Class +StringExtensionTests Class Tests Namespace diff --git a/Documentation/Help/Methods_T_CapyKit_Helpers_SecurityHelper.md b/Documentation/Help/Methods_T_CapyKit_Helpers_SecurityHelper.md index 8290be9..8bedcf9 100644 --- a/Documentation/Help/Methods_T_CapyKit_Helpers_SecurityHelper.md +++ b/Documentation/Help/Methods_T_CapyKit_Helpers_SecurityHelper.md @@ -45,6 +45,9 @@ GetRandomString(Int32, ValidCharacterCollection[]) Gets a cryptographically strong random string using the character values found in [!:VALID_CHARACTERS]. +GetSalt +Generates a random byte array that can act as a salt. + GetType Gets the Type of the current instance.
(Inherited from Object) diff --git a/Documentation/Help/T_Tests_Passwords.md b/Documentation/Help/Methods_T_Tests_Helpers_SecurityHelperTests.md similarity index 61% rename from Documentation/Help/T_Tests_Passwords.md rename to Documentation/Help/Methods_T_Tests_Helpers_SecurityHelperTests.md index da0d5da..14d3bdb 100644 --- a/Documentation/Help/T_Tests_Passwords.md +++ b/Documentation/Help/Methods_T_Tests_Helpers_SecurityHelperTests.md @@ -1,38 +1,23 @@ -# Passwords Class - - -\[Missing <summary> documentation for "T:Tests.Passwords"\] +# SecurityHelperTests Methods -## Definition -**Namespace:** Tests -**Assembly:** Tests (in Tests.exe) Version: 1.0.0 - -**C#** -``` C# -internal class Passwords -``` -**F#** -``` F# -type Passwords = class end -``` - - -
InheritanceObject → Passwords
- - - -## Constructors - - - - -
PasswordsInitializes a new instance of the Passwords class
## Methods + + + + + + + + + + + + @@ -42,12 +27,21 @@ type Passwords = class end + + + + + + + + +
CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse 
CompareHashedPassword_WithSamePassword_ShouldReturnTrue 
CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse 
CompareSessionID_WithSameSessionIDs_ShouldReturnTrue 
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetRandomPassword_ShouldReturnStringOfGivenLength 
GetRandomString_ShouldReturnStringOfGivenLength 
GetType Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash 
ToString Returns a string that represents the current object.
(Inherited from Object)
@@ -56,4 +50,5 @@ type Passwords = class end #### Reference -Tests Namespace +SecurityHelperTests Class +Tests.Helpers Namespace diff --git a/Documentation/Help/Methods_T_Tests_Passwords_PasswordTests.md b/Documentation/Help/Methods_T_Tests_PasswordTests.md similarity index 71% rename from Documentation/Help/Methods_T_Tests_Passwords_PasswordTests.md rename to Documentation/Help/Methods_T_Tests_PasswordTests.md index 27841bb..e03010e 100644 --- a/Documentation/Help/Methods_T_Tests_Passwords_PasswordTests.md +++ b/Documentation/Help/Methods_T_Tests_PasswordTests.md @@ -12,7 +12,7 @@ Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object) -GenerateSalt +GenerateSalt   GetHashCode @@ -24,25 +24,25 @@ MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object) -PasswordCreation_WithInvalidSalt_ReturnsEmptyHash +PasswordCreation_WithInvalidSalt_ReturnsEmptyHash   -PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash +PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash   -PasswordEquality_DifferentPasswords_AreNotEqual +PasswordEquality_DifferentPasswords_AreNotEqual   -PasswordEquality_DifferentSalts_AreNotEqual +PasswordEquality_DifferentSalts_AreNotEqual   -PasswordEquality_SamePasswordAndSalt_AreEqual +PasswordEquality_SamePasswordAndSalt_AreEqual   ToString Returns a string that represents the current object.
(Inherited from Object) -ToString_ReturnsCorrectFormat +ToString_ReturnsCorrectFormat   @@ -50,5 +50,5 @@ #### Reference -Passwords.PasswordTests Class +PasswordTests Class Tests Namespace diff --git a/Documentation/Help/Methods_T_Tests_Passwords.md b/Documentation/Help/Methods_T_Tests_Passwords.md deleted file mode 100644 index 874c419..0000000 --- a/Documentation/Help/Methods_T_Tests_Passwords.md +++ /dev/null @@ -1,33 +0,0 @@ -# Passwords Methods - - - - -## Methods - - - - - - - - - - - - - - - - - - - -
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
- -## See Also - - -#### Reference -Passwords Class -Tests Namespace diff --git a/Documentation/Help/Methods_T_Tests_StringExtensions.md b/Documentation/Help/Methods_T_Tests_StringExtensionTests.md similarity index 73% rename from Documentation/Help/Methods_T_Tests_StringExtensions.md rename to Documentation/Help/Methods_T_Tests_StringExtensionTests.md index 338add9..f134b91 100644 --- a/Documentation/Help/Methods_T_Tests_StringExtensions.md +++ b/Documentation/Help/Methods_T_Tests_StringExtensionTests.md @@ -1,4 +1,4 @@ -# StringExtensions Methods +# StringExtensionTests Methods @@ -18,22 +18,22 @@ GetType Gets the Type of the current instance.
(Inherited from Object) -IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty +IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty   -IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty +IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty   -IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace +IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace   -IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace +IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace   MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object) -Setup +Setup   ToString @@ -44,5 +44,5 @@ #### Reference -StringExtensions Class +StringExtensionTests Class Tests Namespace diff --git a/Documentation/Help/N_Tests.md b/Documentation/Help/N_Tests.md index 8169aaf..ea69e43 100644 --- a/Documentation/Help/N_Tests.md +++ b/Documentation/Help/N_Tests.md @@ -8,12 +8,9 @@ ## Classes - + - - - - +
PasswordsPasswordTests  
Passwords.PasswordTests 
StringExtensionsStringExtensionTests  
\ No newline at end of file diff --git a/Documentation/Help/N_Tests_Helpers.md b/Documentation/Help/N_Tests_Helpers.md new file mode 100644 index 0000000..481f73c --- /dev/null +++ b/Documentation/Help/N_Tests_Helpers.md @@ -0,0 +1,13 @@ +# Tests.Helpers Namespace + + +\[Missing <summary> documentation for "N:Tests.Helpers"\] + + + +## Classes + + + + +
SecurityHelperTests 
\ No newline at end of file diff --git a/Documentation/Help/P_CapyKit_Attributes_EnumerationAttribute_1_Value.md b/Documentation/Help/P_CapyKit_Attributes_EnumerationAttribute_1_Value.md index a8fb0ae..07af611 100644 --- a/Documentation/Help/P_CapyKit_Attributes_EnumerationAttribute_1_Value.md +++ b/Documentation/Help/P_CapyKit_Attributes_EnumerationAttribute_1_Value.md @@ -7,7 +7,7 @@ Initializes a new instance of the CapyKit.Attributes -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_Attributes_ValueFormatAttribute_Format.md b/Documentation/Help/P_CapyKit_Attributes_ValueFormatAttribute_Format.md index 3bdab82..c9c9aed 100644 --- a/Documentation/Help/P_CapyKit_Attributes_ValueFormatAttribute_Format.md +++ b/Documentation/Help/P_CapyKit_Attributes_ValueFormatAttribute_Format.md @@ -7,7 +7,7 @@ Gets or sets the format to use for formatting the value. ## Definition **Namespace:** CapyKit.Attributes -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_CapyEventArgs_Level.md b/Documentation/Help/P_CapyKit_CapyEventArgs_Level.md index 339aac4..fe65d72 100644 --- a/Documentation/Help/P_CapyKit_CapyEventArgs_Level.md +++ b/Documentation/Help/P_CapyKit_CapyEventArgs_Level.md @@ -7,7 +7,7 @@ Gets the severity level of the event. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_CapyEventArgs_Message.md b/Documentation/Help/P_CapyKit_CapyEventArgs_Message.md index 76d8334..edb1fc6 100644 --- a/Documentation/Help/P_CapyKit_CapyEventArgs_Message.md +++ b/Documentation/Help/P_CapyKit_CapyEventArgs_Message.md @@ -7,7 +7,7 @@ Gets the message describing the reason for the event. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_CapyEventArgs_MethodName.md b/Documentation/Help/P_CapyKit_CapyEventArgs_MethodName.md index 3efa094..1cb1797 100644 --- a/Documentation/Help/P_CapyKit_CapyEventArgs_MethodName.md +++ b/Documentation/Help/P_CapyKit_CapyEventArgs_MethodName.md @@ -7,7 +7,7 @@ Gets the name of the method where the event was raised. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_EncryptedValue_1_Value.md b/Documentation/Help/P_CapyKit_EncryptedValue_1_Value.md index ad311c4..a2f5807 100644 --- a/Documentation/Help/P_CapyKit_EncryptedValue_1_Value.md +++ b/Documentation/Help/P_CapyKit_EncryptedValue_1_Value.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_Helpers_IEncryptionAlgorithm_AlgorithmName.md b/Documentation/Help/P_CapyKit_Helpers_IEncryptionAlgorithm_AlgorithmName.md index 15b6788..9c60690 100644 --- a/Documentation/Help/P_CapyKit_Helpers_IEncryptionAlgorithm_AlgorithmName.md +++ b/Documentation/Help/P_CapyKit_Helpers_IEncryptionAlgorithm_AlgorithmName.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_IPasswordAlgorithm_AlgorithmName.md b/Documentation/Help/P_CapyKit_IPasswordAlgorithm_AlgorithmName.md index b1a295f..7d56d13 100644 --- a/Documentation/Help/P_CapyKit_IPasswordAlgorithm_AlgorithmName.md +++ b/Documentation/Help/P_CapyKit_IPasswordAlgorithm_AlgorithmName.md @@ -7,7 +7,7 @@ Gets the name of the algorithm. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_Password_Algorithm.md b/Documentation/Help/P_CapyKit_Password_Algorithm.md index a6b361a..0a6eac3 100644 --- a/Documentation/Help/P_CapyKit_Password_Algorithm.md +++ b/Documentation/Help/P_CapyKit_Password_Algorithm.md @@ -7,7 +7,7 @@ Gets or sets the algorithm used for password encryption. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_Password_Hash.md b/Documentation/Help/P_CapyKit_Password_Hash.md index 22b2eac..7d52c5f 100644 --- a/Documentation/Help/P_CapyKit_Password_Hash.md +++ b/Documentation/Help/P_CapyKit_Password_Hash.md @@ -7,7 +7,7 @@ Gets or sets the hash of the password. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_Password_Pbkdf2Algorithm.md b/Documentation/Help/P_CapyKit_Password_Pbkdf2Algorithm.md index 63e7541..051fd0d 100644 --- a/Documentation/Help/P_CapyKit_Password_Pbkdf2Algorithm.md +++ b/Documentation/Help/P_CapyKit_Password_Pbkdf2Algorithm.md @@ -7,7 +7,7 @@ Gets the preconfigured PBKDF2 algorithm. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_Password_Salt.md b/Documentation/Help/P_CapyKit_Password_Salt.md index 7bb4d48..6784045 100644 --- a/Documentation/Help/P_CapyKit_Password_Salt.md +++ b/Documentation/Help/P_CapyKit_Password_Salt.md @@ -7,7 +7,7 @@ Gets or sets the salt used for encryption. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_Pbkdf2Algorithm_AlgorithmName.md b/Documentation/Help/P_CapyKit_Pbkdf2Algorithm_AlgorithmName.md index 8c39c37..e7c3210 100644 --- a/Documentation/Help/P_CapyKit_Pbkdf2Algorithm_AlgorithmName.md +++ b/Documentation/Help/P_CapyKit_Pbkdf2Algorithm_AlgorithmName.md @@ -7,7 +7,7 @@ Gets the name of the algorithm. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_PoolItem_1_Index.md b/Documentation/Help/P_CapyKit_PoolItem_1_Index.md index 6e68944..e2c35cb 100644 --- a/Documentation/Help/P_CapyKit_PoolItem_1_Index.md +++ b/Documentation/Help/P_CapyKit_PoolItem_1_Index.md @@ -7,7 +7,7 @@ Gets the zero-based index of the pooled item. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_PoolItem_1_Item.md b/Documentation/Help/P_CapyKit_PoolItem_1_Item.md index 4c1d0e7..eb68f57 100644 --- a/Documentation/Help/P_CapyKit_PoolItem_1_Item.md +++ b/Documentation/Help/P_CapyKit_PoolItem_1_Item.md @@ -7,7 +7,7 @@ Gets the pooled resource. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_PoolItem_1_Locked.md b/Documentation/Help/P_CapyKit_PoolItem_1_Locked.md index 9721ac7..37c2138 100644 --- a/Documentation/Help/P_CapyKit_PoolItem_1_Locked.md +++ b/Documentation/Help/P_CapyKit_PoolItem_1_Locked.md @@ -7,7 +7,7 @@ Gets a value indicating whether this object is locked or not. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/P_CapyKit_PoolItem_1_TypeName.md b/Documentation/Help/P_CapyKit_PoolItem_1_TypeName.md index 660cdd9..6ec2a6c 100644 --- a/Documentation/Help/P_CapyKit_PoolItem_1_TypeName.md +++ b/Documentation/Help/P_CapyKit_PoolItem_1_TypeName.md @@ -7,7 +7,7 @@ Gets the name of the CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/R_Project_Documentation.md b/Documentation/Help/R_Project_Documentation.md index db0c8eb..80c8f13 100644 --- a/Documentation/Help/R_Project_Documentation.md +++ b/Documentation/Help/R_Project_Documentation.md @@ -23,4 +23,7 @@ Tests + +Tests.Helpers + \ No newline at end of file diff --git a/Documentation/Help/T_CapyKit_Attributes_EnumerationAttribute_1.md b/Documentation/Help/T_CapyKit_Attributes_EnumerationAttribute_1.md index 793ef41..79c1c02 100644 --- a/Documentation/Help/T_CapyKit_Attributes_EnumerationAttribute_1.md +++ b/Documentation/Help/T_CapyKit_Attributes_EnumerationAttribute_1.md @@ -7,7 +7,7 @@ Custom attribute class for decorating enumeration fields with additional data. ## Definition **Namespace:** CapyKit.Attributes -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Attributes_EnumerationDescriptionAttribute.md b/Documentation/Help/T_CapyKit_Attributes_EnumerationDescriptionAttribute.md index 800d379..d97d867 100644 --- a/Documentation/Help/T_CapyKit_Attributes_EnumerationDescriptionAttribute.md +++ b/Documentation/Help/T_CapyKit_Attributes_EnumerationDescriptionAttribute.md @@ -7,7 +7,7 @@ An attribute class for decorating enumeration fields with a description. ## Definition **Namespace:** CapyKit.Attributes -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Attributes_ValueFormatAttribute.md b/Documentation/Help/T_CapyKit_Attributes_ValueFormatAttribute.md index 82b989e..af7c201 100644 --- a/Documentation/Help/T_CapyKit_Attributes_ValueFormatAttribute.md +++ b/Documentation/Help/T_CapyKit_Attributes_ValueFormatAttribute.md @@ -7,7 +7,7 @@ Custom attribute for formatting values in a specific way. ## Definition **Namespace:** CapyKit.Attributes -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_CapyEventArgs.md b/Documentation/Help/T_CapyKit_CapyEventArgs.md index 6d9d272..8833e53 100644 --- a/Documentation/Help/T_CapyKit_CapyEventArgs.md +++ b/Documentation/Help/T_CapyKit_CapyEventArgs.md @@ -7,7 +7,7 @@ The CapyEventArgs class represents an event argument instance with event level, ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_CapyEventHandler.md b/Documentation/Help/T_CapyKit_CapyEventHandler.md index 4c30bc5..7656fc5 100644 --- a/Documentation/Help/T_CapyKit_CapyEventHandler.md +++ b/Documentation/Help/T_CapyKit_CapyEventHandler.md @@ -7,7 +7,7 @@ A delegate representing an event handler that accepts a CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_CapyEventReporter.md b/Documentation/Help/T_CapyKit_CapyEventReporter.md index 7ae5f49..419dc3d 100644 --- a/Documentation/Help/T_CapyKit_CapyEventReporter.md +++ b/Documentation/Help/T_CapyKit_CapyEventReporter.md @@ -7,7 +7,7 @@ The CapyEventReporter class is responsible for managing event subscriptions and ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Color.md b/Documentation/Help/T_CapyKit_Color.md index cf2695a..3eddc1c 100644 --- a/Documentation/Help/T_CapyKit_Color.md +++ b/Documentation/Help/T_CapyKit_Color.md @@ -7,7 +7,7 @@ Enum representing a set of named colors with their corresponding HEX values. The ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_EncryptedValue_1.md b/Documentation/Help/T_CapyKit_EncryptedValue_1.md index 359009c..5f04673 100644 --- a/Documentation/Help/T_CapyKit_EncryptedValue_1.md +++ b/Documentation/Help/T_CapyKit_EncryptedValue_1.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Enumerations_MeasurementSystem.md b/Documentation/Help/T_CapyKit_Enumerations_MeasurementSystem.md index 4db7bb4..8f90d77 100644 --- a/Documentation/Help/T_CapyKit_Enumerations_MeasurementSystem.md +++ b/Documentation/Help/T_CapyKit_Enumerations_MeasurementSystem.md @@ -7,7 +7,7 @@ An enumeration representing different measurement systems. ## Definition **Namespace:** CapyKit.Enumerations -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_EventLevel.md b/Documentation/Help/T_CapyKit_EventLevel.md index 23eddda..f2f1047 100644 --- a/Documentation/Help/T_CapyKit_EventLevel.md +++ b/Documentation/Help/T_CapyKit_EventLevel.md @@ -7,7 +7,7 @@ Enumeration representing different event level severity values. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Extensions_EnumerationExtensions.md b/Documentation/Help/T_CapyKit_Extensions_EnumerationExtensions.md index 0a2240d..3811f65 100644 --- a/Documentation/Help/T_CapyKit_Extensions_EnumerationExtensions.md +++ b/Documentation/Help/T_CapyKit_Extensions_EnumerationExtensions.md @@ -7,7 +7,7 @@ Provides static extentions methods for providing additional functionality for CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Extensions_LINQExtensions.md b/Documentation/Help/T_CapyKit_Extensions_LINQExtensions.md index cdee283..b4bf75b 100644 --- a/Documentation/Help/T_CapyKit_Extensions_LINQExtensions.md +++ b/Documentation/Help/T_CapyKit_Extensions_LINQExtensions.md @@ -7,7 +7,7 @@ Provides static extension methods for performing common LINQ operations on CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Extensions_StringExtensions.md b/Documentation/Help/T_CapyKit_Extensions_StringExtensions.md index 523c236..401aa4b 100644 --- a/Documentation/Help/T_CapyKit_Extensions_StringExtensions.md +++ b/Documentation/Help/T_CapyKit_Extensions_StringExtensions.md @@ -7,7 +7,7 @@ Provides static extentions methods for providing additional functionality for CapyKit.Extensions -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Helpers_CalculationHelper.md b/Documentation/Help/T_CapyKit_Helpers_CalculationHelper.md index 9412395..3992064 100644 --- a/Documentation/Help/T_CapyKit_Helpers_CalculationHelper.md +++ b/Documentation/Help/T_CapyKit_Helpers_CalculationHelper.md @@ -7,7 +7,7 @@ Static class providing helper methods for various calculations. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Helpers_CompressionHelper.md b/Documentation/Help/T_CapyKit_Helpers_CompressionHelper.md index be310cf..68ecebd 100644 --- a/Documentation/Help/T_CapyKit_Helpers_CompressionHelper.md +++ b/Documentation/Help/T_CapyKit_Helpers_CompressionHelper.md @@ -7,7 +7,7 @@ A class that contains methods for managing data compression. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Helpers_EncryptionHelper.md b/Documentation/Help/T_CapyKit_Helpers_EncryptionHelper.md index 7ddeed0..f870956 100644 --- a/Documentation/Help/T_CapyKit_Helpers_EncryptionHelper.md +++ b/Documentation/Help/T_CapyKit_Helpers_EncryptionHelper.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Helpers_IEncryptionAlgorithm.md b/Documentation/Help/T_CapyKit_Helpers_IEncryptionAlgorithm.md index 243b0eb..1c3ada3 100644 --- a/Documentation/Help/T_CapyKit_Helpers_IEncryptionAlgorithm.md +++ b/Documentation/Help/T_CapyKit_Helpers_IEncryptionAlgorithm.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Helpers_LanguageHelper.md b/Documentation/Help/T_CapyKit_Helpers_LanguageHelper.md index bb86139..ab474d7 100644 --- a/Documentation/Help/T_CapyKit_Helpers_LanguageHelper.md +++ b/Documentation/Help/T_CapyKit_Helpers_LanguageHelper.md @@ -7,7 +7,7 @@ Helper class for handling text transformations. ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Helpers_SecurityHelper.md b/Documentation/Help/T_CapyKit_Helpers_SecurityHelper.md index 7c5fbda..6d048d3 100644 --- a/Documentation/Help/T_CapyKit_Helpers_SecurityHelper.md +++ b/Documentation/Help/T_CapyKit_Helpers_SecurityHelper.md @@ -7,7 +7,7 @@ A class that contains methods for managing secure data processing and cryptograp ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# @@ -72,6 +72,9 @@ type SecurityHelper = class end GetRandomString(Int32, ValidCharacterCollection[]) Gets a cryptographically strong random string using the character values found in [!:VALID_CHARACTERS]. +GetSalt +Generates a random byte array that can act as a salt. + GetType Gets the Type of the current instance.
(Inherited from Object) diff --git a/Documentation/Help/T_CapyKit_Helpers_SerializationHelper.md b/Documentation/Help/T_CapyKit_Helpers_SerializationHelper.md index 2dc5330..ebdf757 100644 --- a/Documentation/Help/T_CapyKit_Helpers_SerializationHelper.md +++ b/Documentation/Help/T_CapyKit_Helpers_SerializationHelper.md @@ -7,7 +7,7 @@ ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Helpers_SettingsHelper.md b/Documentation/Help/T_CapyKit_Helpers_SettingsHelper.md index 518a84a..789b970 100644 --- a/Documentation/Help/T_CapyKit_Helpers_SettingsHelper.md +++ b/Documentation/Help/T_CapyKit_Helpers_SettingsHelper.md @@ -7,7 +7,7 @@ Static class containing helper methods for retrieving and setting application se ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Helpers_ValidCharacterCollection.md b/Documentation/Help/T_CapyKit_Helpers_ValidCharacterCollection.md index 91aa1bd..ea8083a 100644 --- a/Documentation/Help/T_CapyKit_Helpers_ValidCharacterCollection.md +++ b/Documentation/Help/T_CapyKit_Helpers_ValidCharacterCollection.md @@ -7,7 +7,7 @@ An enumeration that defines the types of characters that can be included in a ra ## Definition **Namespace:** CapyKit.Helpers -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_IPasswordAlgorithm.md b/Documentation/Help/T_CapyKit_IPasswordAlgorithm.md index ae817ef..645f086 100644 --- a/Documentation/Help/T_CapyKit_IPasswordAlgorithm.md +++ b/Documentation/Help/T_CapyKit_IPasswordAlgorithm.md @@ -7,7 +7,7 @@ Defines the contract for password encryption algorithms. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Password.md b/Documentation/Help/T_CapyKit_Password.md index 4d21097..829e7c9 100644 --- a/Documentation/Help/T_CapyKit_Password.md +++ b/Documentation/Help/T_CapyKit_Password.md @@ -7,7 +7,7 @@ Represents a password with its hash, salt and algorithm used for encryption. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Pbkdf2Algorithm.md b/Documentation/Help/T_CapyKit_Pbkdf2Algorithm.md index b85e841..4d2804b 100644 --- a/Documentation/Help/T_CapyKit_Pbkdf2Algorithm.md +++ b/Documentation/Help/T_CapyKit_Pbkdf2Algorithm.md @@ -7,7 +7,7 @@ Implements the PBKDF2 algorithm for password encryption. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_PoolItem_1.md b/Documentation/Help/T_CapyKit_PoolItem_1.md index 02d6c9a..5062189 100644 --- a/Documentation/Help/T_CapyKit_PoolItem_1.md +++ b/Documentation/Help/T_CapyKit_PoolItem_1.md @@ -7,7 +7,7 @@ A pool item. This class cannot be inherited. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_Pool_1.md b/Documentation/Help/T_CapyKit_Pool_1.md index f3e7df8..eddad11 100644 --- a/Documentation/Help/T_CapyKit_Pool_1.md +++ b/Documentation/Help/T_CapyKit_Pool_1.md @@ -7,7 +7,7 @@ A managed pool of resources. This class provides a thread-safe way to manage a c ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_CapyKit_PropertyComparer_2.md b/Documentation/Help/T_CapyKit_PropertyComparer_2.md index 0edce08..f75e14a 100644 --- a/Documentation/Help/T_CapyKit_PropertyComparer_2.md +++ b/Documentation/Help/T_CapyKit_PropertyComparer_2.md @@ -7,7 +7,7 @@ A object comparer that can accept a lambda expression to compare properties. ## Definition **Namespace:** CapyKit -**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0 +**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# diff --git a/Documentation/Help/T_Tests_Helpers_SecurityHelperTests.md b/Documentation/Help/T_Tests_Helpers_SecurityHelperTests.md new file mode 100644 index 0000000..a3d313d --- /dev/null +++ b/Documentation/Help/T_Tests_Helpers_SecurityHelperTests.md @@ -0,0 +1,95 @@ +# SecurityHelperTests Class + + +\[Missing <summary> documentation for "T:Tests.Helpers.SecurityHelperTests"\] + + + +## Definition +**Namespace:** Tests.Helpers +**Assembly:** Tests (in Tests.exe) Version: 1.0.0 + +**C#** +``` C# +[TestFixtureAttribute] +internal class SecurityHelperTests +``` +**F#** +``` F# +[] +type SecurityHelperTests = class end +``` + + +
InheritanceObject → SecurityHelperTests
+ + + +## Constructors + + + + + + + +
SecurityHelperTests 
SecurityHelperTestsInitializes a new instance of the SecurityHelperTests class
+ +## Methods + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse 
CompareHashedPassword_WithSamePassword_ShouldReturnTrue 
CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse 
CompareSessionID_WithSameSessionIDs_ShouldReturnTrue 
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRandomPassword_ShouldReturnStringOfGivenLength 
GetRandomString_ShouldReturnStringOfGivenLength 
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash 
ToStringReturns a string that represents the current object.
(Inherited from Object)
+ +## Fields + + + + + + + +
Password 
Salt 
+ +## See Also + + +#### Reference +Tests.Helpers Namespace diff --git a/Documentation/Help/T_Tests_Passwords_PasswordTests.md b/Documentation/Help/T_Tests_PasswordTests.md similarity index 69% rename from Documentation/Help/T_Tests_Passwords_PasswordTests.md rename to Documentation/Help/T_Tests_PasswordTests.md index 3fbdbb6..adac7da 100644 --- a/Documentation/Help/T_Tests_Passwords_PasswordTests.md +++ b/Documentation/Help/T_Tests_PasswordTests.md @@ -1,7 +1,7 @@ -# Passwords.PasswordTests Class +# PasswordTests Class -\[Missing <summary> documentation for "T:Tests.Passwords.PasswordTests"\] +\[Missing <summary> documentation for "T:Tests.PasswordTests"\] @@ -12,7 +12,7 @@ **C#** ``` C# [TestFixtureAttribute] -public class PasswordTests +internal class PasswordTests ``` **F#** ``` F# @@ -20,7 +20,7 @@ public class PasswordTests type PasswordTests = class end ``` - +
InheritanceObject → Passwords.PasswordTests
InheritanceObject → PasswordTests
@@ -28,8 +28,8 @@ type PasswordTests = class end ## Constructors - - + +
Passwords.PasswordTestsInitializes a new instance of the Passwords.PasswordTests class
PasswordTestsInitializes a new instance of the PasswordTests class
## Methods @@ -41,7 +41,7 @@ type PasswordTests = class end Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object) -GenerateSalt +GenerateSalt   GetHashCode @@ -53,25 +53,25 @@ type PasswordTests = class end MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object) -PasswordCreation_WithInvalidSalt_ReturnsEmptyHash +PasswordCreation_WithInvalidSalt_ReturnsEmptyHash   -PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash +PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash   -PasswordEquality_DifferentPasswords_AreNotEqual +PasswordEquality_DifferentPasswords_AreNotEqual   -PasswordEquality_DifferentSalts_AreNotEqual +PasswordEquality_DifferentSalts_AreNotEqual   -PasswordEquality_SamePasswordAndSalt_AreEqual +PasswordEquality_SamePasswordAndSalt_AreEqual   ToString Returns a string that represents the current object.
(Inherited from Object) -ToString_ReturnsCorrectFormat +ToString_ReturnsCorrectFormat   diff --git a/Documentation/Help/T_Tests_StringExtensions.md b/Documentation/Help/T_Tests_StringExtensionTests.md similarity index 71% rename from Documentation/Help/T_Tests_StringExtensions.md rename to Documentation/Help/T_Tests_StringExtensionTests.md index 78b0a94..122ba56 100644 --- a/Documentation/Help/T_Tests_StringExtensions.md +++ b/Documentation/Help/T_Tests_StringExtensionTests.md @@ -1,7 +1,7 @@ -# StringExtensions Class +# StringExtensionTests Class -\[Missing <summary> documentation for "T:Tests.StringExtensions"\] +\[Missing <summary> documentation for "T:Tests.StringExtensionTests"\] @@ -12,15 +12,15 @@ **C#** ``` C# [TestFixtureAttribute] -internal class StringExtensions +internal class StringExtensionTests ``` **F#** ``` F# [] -type StringExtensions = class end +type StringExtensionTests = class end ``` - +
InheritanceObject → StringExtensions
InheritanceObject → StringExtensionTests
@@ -28,8 +28,8 @@ type StringExtensions = class end ## Constructors - - + +
StringExtensionsInitializes a new instance of the StringExtensions class
StringExtensionTestsInitializes a new instance of the StringExtensionTests class
## Methods @@ -47,22 +47,22 @@ type StringExtensions = class end GetType Gets the Type of the current instance.
(Inherited from Object) -IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty +IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty   -IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty +IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty   -IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace +IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace   -IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace +IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace   MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object) -Setup +Setup   ToString @@ -72,7 +72,7 @@ type StringExtensions = class end ## Fields - +
ReplacementReplacement  
diff --git a/Documentation/Help/Working/_InheritedDocs_.xml b/Documentation/Help/Working/_InheritedDocs_.xml deleted file mode 100644 index 82ddca8..0000000 --- a/Documentation/Help/Working/_InheritedDocs_.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - _InheritedDocs_ - - - - -Determines whether the specified object is equal to the current object.The object to compare with the current object. if the specified object is equal to the current object; otherwise, . - -Returns a string that represents the current object.A string that represents the current object. - - - - - - - Gets the name of the algorithm. - - \ No newline at end of file diff --git a/Documentation/Help/_Sidebar.md b/Documentation/Help/_Sidebar.md index c03984b..d266c52 100644 --- a/Documentation/Help/_Sidebar.md +++ b/Documentation/Help/_Sidebar.md @@ -1,4 +1,4 @@ -- [CapyKit - C# Utilities](849aa079-3d64-4cf1-966f-44af23c73160.md) +- [CapyKit - C# Utilities](fa7407d1-9116-4ad7-a9ab-ed094685b070.md) - [Namespaces](R_Project_Documentation.md) - [CapyKit Namespace](N_CapyKit.md) - [CapyEventArgs Class](T_CapyKit_CapyEventArgs.md) @@ -201,6 +201,7 @@ - [GetRandomString Method](Overload_CapyKit_Helpers_SecurityHelper_GetRandomString.md) - [GetRandomString(Int32) Method](M_CapyKit_Helpers_SecurityHelper_GetRandomString.md) - [GetRandomString(Int32, ValidCharacterCollection[]) Method](M_CapyKit_Helpers_SecurityHelper_GetRandomString_1.md) + - [GetSalt Method](M_CapyKit_Helpers_SecurityHelper_GetSalt.md) - [GetValidCharacterComposition Method](M_CapyKit_Helpers_SecurityHelper_GetValidCharacterComposition.md) - [Pbkdf2 Method](Overload_CapyKit_Helpers_SecurityHelper_Pbkdf2.md) - [Pbkdf2(String) Method](M_CapyKit_Helpers_SecurityHelper_Pbkdf2.md) @@ -230,26 +231,38 @@ - [detector Field](F_CapyKit_Helpers_SettingsHelper_detector.md) - [ValidCharacterCollection Enumeration](T_CapyKit_Helpers_ValidCharacterCollection.md) - [Tests Namespace](N_Tests.md) - - [Passwords Class](T_Tests_Passwords.md) - - [Passwords Constructor](M_Tests_Passwords__ctor.md) - - [Passwords Methods](Methods_T_Tests_Passwords.md) - - [Passwords.PasswordTests Class](T_Tests_Passwords_PasswordTests.md) - - [Passwords.PasswordTests Constructor](M_Tests_Passwords_PasswordTests__ctor.md) - - [PasswordTests Methods](Methods_T_Tests_Passwords_PasswordTests.md) - - [GenerateSalt Method](M_Tests_Passwords_PasswordTests_GenerateSalt.md) - - [PasswordCreation_WithInvalidSalt_ReturnsEmptyHash Method](M_Tests_Passwords_PasswordTests_PasswordCreation_WithInvalidSalt_ReturnsEmptyHash.md) - - [PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash Method](M_Tests_Passwords_PasswordTests_PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash.md) - - [PasswordEquality_DifferentPasswords_AreNotEqual Method](M_Tests_Passwords_PasswordTests_PasswordEquality_DifferentPasswords_AreNotEqual.md) - - [PasswordEquality_DifferentSalts_AreNotEqual Method](M_Tests_Passwords_PasswordTests_PasswordEquality_DifferentSalts_AreNotEqual.md) - - [PasswordEquality_SamePasswordAndSalt_AreEqual Method](M_Tests_Passwords_PasswordTests_PasswordEquality_SamePasswordAndSalt_AreEqual.md) - - [ToString_ReturnsCorrectFormat Method](M_Tests_Passwords_PasswordTests_ToString_ReturnsCorrectFormat.md) - - [StringExtensions Class](T_Tests_StringExtensions.md) - - [StringExtensions Constructor](M_Tests_StringExtensions__ctor.md) - - [StringExtensions Methods](Methods_T_Tests_StringExtensions.md) - - [IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty Method](M_Tests_StringExtensions_IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty.md) - - [IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty Method](M_Tests_StringExtensions_IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty.md) - - [IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace Method](M_Tests_StringExtensions_IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace.md) - - [IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace Method](M_Tests_StringExtensions_IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace.md) - - [Setup Method](M_Tests_StringExtensions_Setup.md) - - [StringExtensions Fields](Fields_T_Tests_StringExtensions.md) - - [Replacement Field](F_Tests_StringExtensions_Replacement.md) + - [PasswordTests Class](T_Tests_PasswordTests.md) + - [PasswordTests Constructor](M_Tests_PasswordTests__ctor.md) + - [PasswordTests Methods](Methods_T_Tests_PasswordTests.md) + - [GenerateSalt Method](M_Tests_PasswordTests_GenerateSalt.md) + - [PasswordCreation_WithInvalidSalt_ReturnsEmptyHash Method](M_Tests_PasswordTests_PasswordCreation_WithInvalidSalt_ReturnsEmptyHash.md) + - [PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash Method](M_Tests_PasswordTests_PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash.md) + - [PasswordEquality_DifferentPasswords_AreNotEqual Method](M_Tests_PasswordTests_PasswordEquality_DifferentPasswords_AreNotEqual.md) + - [PasswordEquality_DifferentSalts_AreNotEqual Method](M_Tests_PasswordTests_PasswordEquality_DifferentSalts_AreNotEqual.md) + - [PasswordEquality_SamePasswordAndSalt_AreEqual Method](M_Tests_PasswordTests_PasswordEquality_SamePasswordAndSalt_AreEqual.md) + - [ToString_ReturnsCorrectFormat Method](M_Tests_PasswordTests_ToString_ReturnsCorrectFormat.md) + - [StringExtensionTests Class](T_Tests_StringExtensionTests.md) + - [StringExtensionTests Constructor](M_Tests_StringExtensionTests__ctor.md) + - [StringExtensionTests Methods](Methods_T_Tests_StringExtensionTests.md) + - [IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty Method](M_Tests_StringExtensionTests_IfNullOrEmpty_ShouldReturnOriginalStringWhenValueIsNotNullNorEmpty.md) + - [IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty Method](M_Tests_StringExtensionTests_IfNullOrEmpty_ShouldReturnReplacementWhenValueIsNullOrEmpty.md) + - [IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace Method](M_Tests_StringExtensionTests_IfNullOrWhiteSpace_ShouldReturnOriginalStringWhenValueIsNotNullNorWhitespace.md) + - [IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace Method](M_Tests_StringExtensionTests_IfNullOrWhiteSpace_ShouldReturnReplacementWhenValueIsNullOrWhitespace.md) + - [Setup Method](M_Tests_StringExtensionTests_Setup.md) + - [StringExtensionTests Fields](Fields_T_Tests_StringExtensionTests.md) + - [Replacement Field](F_Tests_StringExtensionTests_Replacement.md) + - [Tests.Helpers Namespace](N_Tests_Helpers.md) + - [SecurityHelperTests Class](T_Tests_Helpers_SecurityHelperTests.md) + - [SecurityHelperTests Constructor](M_Tests_Helpers_SecurityHelperTests__cctor.md) + - [SecurityHelperTests Constructor](M_Tests_Helpers_SecurityHelperTests__ctor.md) + - [SecurityHelperTests Methods](Methods_T_Tests_Helpers_SecurityHelperTests.md) + - [CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse Method](M_Tests_Helpers_SecurityHelperTests_CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse.md) + - [CompareHashedPassword_WithSamePassword_ShouldReturnTrue Method](M_Tests_Helpers_SecurityHelperTests_CompareHashedPassword_WithSamePassword_ShouldReturnTrue.md) + - [CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse Method](M_Tests_Helpers_SecurityHelperTests_CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse.md) + - [CompareSessionID_WithSameSessionIDs_ShouldReturnTrue Method](M_Tests_Helpers_SecurityHelperTests_CompareSessionID_WithSameSessionIDs_ShouldReturnTrue.md) + - [GetRandomPassword_ShouldReturnStringOfGivenLength Method](M_Tests_Helpers_SecurityHelperTests_GetRandomPassword_ShouldReturnStringOfGivenLength.md) + - [GetRandomString_ShouldReturnStringOfGivenLength Method](M_Tests_Helpers_SecurityHelperTests_GetRandomString_ShouldReturnStringOfGivenLength.md) + - [Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash Method](M_Tests_Helpers_SecurityHelperTests_Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash.md) + - [SecurityHelperTests Fields](Fields_T_Tests_Helpers_SecurityHelperTests.md) + - [Password Field](F_Tests_Helpers_SecurityHelperTests_Password.md) + - [Salt Field](F_Tests_Helpers_SecurityHelperTests_Salt.md) diff --git a/Documentation/Help/fa7407d1-9116-4ad7-a9ab-ed094685b070.md b/Documentation/Help/fa7407d1-9116-4ad7-a9ab-ed094685b070.md new file mode 100644 index 0000000..079dbe5 --- /dev/null +++ b/Documentation/Help/fa7407d1-9116-4ad7-a9ab-ed094685b070.md @@ -0,0 +1,15 @@ +# CapyKit - C# Utilities + +Version [TODO: Version] was released on [TODO: Date]. + + +## Changes in This Release +
  • [TODO: Add change items here]

+ + + +## See Also + + +#### Other Resources +[7d36447b-0aab-4ce9-b5ed-e60ec5bee103] diff --git a/Tests/Helpers/SecurityHelper.cs b/Tests/Helpers/SecurityHelper.cs new file mode 100644 index 0000000..92e6838 --- /dev/null +++ b/Tests/Helpers/SecurityHelper.cs @@ -0,0 +1,112 @@ +using CapyKit; +using CapyKit.Helpers; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Security.Cryptography; + +namespace Tests.Helpers +{ + [TestFixture] + internal class SecurityHelperTests + { + private const string Password = "TestPassword"; + private static readonly byte[] Salt = SecurityHelper.GetSalt(); + + [Test] + public void CompareHashedPassword_WithSamePassword_ShouldReturnTrue() + { + var existingPassword = SecurityHelper.Pbkdf2(Password, Salt); + var result = SecurityHelper.CompareHashedPassword(existingPassword, Password, Salt); + + Assert.IsTrue(result); + } + + [Test] + public void CompareHashedPassword_WithDifferentPassword_ShouldReturnFalse() + { + var existingPassword = SecurityHelper.Pbkdf2(Password, Salt); + var result = SecurityHelper.CompareHashedPassword(existingPassword, "WrongPassword", Salt); + + Assert.IsFalse(result); + } + + [Test] + public void CompareSessionID_WithSameSessionIDs_ShouldReturnTrue() + { + var sessionID1 = "SessionID"; + var sessionID2 = "SessionID"; + + var result = SecurityHelper.CompareSessionID(sessionID1, sessionID2); + + Assert.IsTrue(result); + } + + [Test] + public void CompareSessionID_WithDifferentSessionIDs_ShouldReturnFalse() + { + var sessionID1 = "SessionID1"; + var sessionID2 = "SessionID2"; + + var result = SecurityHelper.CompareSessionID(sessionID1, sessionID2); + + Assert.IsFalse(result); + } + + [Test] + public void GetRandomString_ShouldReturnStringOfGivenLength() + { + int length = 10; + var randomString = SecurityHelper.GetRandomString(length); + + Assert.AreEqual(length, randomString.Length); + } + + [Test] + public void GetRandomPassword_ShouldReturnStringOfGivenLength() + { + int length = 12; + var randomPassword = SecurityHelper.GetRandomPassword(length); + + Assert.AreEqual(length, randomPassword.Length); + } + + [Test] + public void Pbkdf2_WithSamePasswordAndSalt_ShouldReturnSameHash() + { + var password1 = SecurityHelper.Pbkdf2(Password, Salt); + var password2 = SecurityHelper.Pbkdf2(Password, Salt); + + Assert.AreEqual(password1.Hash, password2.Hash); + } + + //[Test] + //public void GetPassword_WithPBKDF2Algorithm_ShouldReturnValidPasswordObject() + //{ + // var password = SecurityHelper.GetPassword(Password, Salt); + + // Assert.IsNotNull(password); + // Assert.AreEqual(Password, password.); + //} + + //[Test] + //public void GetPassword_WithDifferentAlgorithm_ShouldReturnDifferentHashes() + //{ + // var password1 = SecurityHelper.GetPassword(Password, Salt); + // var password2 = SecurityHelper.GetPassword(Password, Salt); // Replace with another algorithm implementation + + // Assert.AreNotEqual(password1.Hash, password2.Hash); + //} + + //[Test] + //public void GetRandomBytes_ShouldReturnArrayOfGivenLength() + //{ + // int length = 16; + // var bytes = SecurityHelper.GetRandomBytes(length); + + // Assert.AreEqual(length, bytes.Length); + //} + } +} diff --git a/Tests/PasswordTests.cs b/Tests/PasswordTests.cs new file mode 100644 index 0000000..e486cf1 --- /dev/null +++ b/Tests/PasswordTests.cs @@ -0,0 +1,124 @@ +using CapyKit; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tests +{ + [TestFixture] + internal class PasswordTests + { + private static byte[] GenerateSalt(int size = 16) + { + var salt = new byte[size]; + using (var rng = new System.Security.Cryptography.RNGCryptoServiceProvider()) + { + rng.GetBytes(salt); + } + return salt; + } + + [Test] + public void PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash() + { + // Arrange + var passwordText = "mySecurePassword"; + var salt = GenerateSalt(); + var algorithm = Password.Pbkdf2Algorithm; + + // Act + var password = new Password(passwordText, salt, algorithm); + + // Assert + Assert.IsNotNull(password.Hash); + Assert.IsNotEmpty(password.Hash); + Assert.AreEqual(salt, password.Salt); + Assert.AreEqual(algorithm, password.Algorithm); + } + + [Test] + public void PasswordEquality_SamePasswordAndSalt_AreEqual() + { + // Arrange + var passwordText = "mySecurePassword"; + var salt = GenerateSalt(); + var algorithm = Password.Pbkdf2Algorithm; + + var password1 = new Password(passwordText, salt, algorithm); + var password2 = new Password(passwordText, salt, algorithm); + + // Act & Assert + Assert.AreEqual(password1, password2); + Assert.IsTrue(password1 == password2); + } + + [Test] + public void PasswordEquality_DifferentPasswords_AreNotEqual() + { + // Arrange + var salt = GenerateSalt(); + var algorithm = new Pbkdf2Algorithm(); + + var password1 = new Password("passwordOne", salt, algorithm); + var password2 = new Password("passwordTwo", salt, algorithm); + + // Act & Assert + Assert.AreNotEqual(password1, password2); + Assert.IsTrue(password1 != password2); + } + + [Test] + public void PasswordEquality_DifferentSalts_AreNotEqual() + { + // Arrange + var passwordText = "mySecurePassword"; + var salt1 = GenerateSalt(); + var salt2 = GenerateSalt(); + var algorithm = Password.Pbkdf2Algorithm; + + var password1 = new Password(passwordText, salt1, algorithm); + var password2 = new Password(passwordText, salt2, algorithm); + + // Act & Assert + Assert.AreNotEqual(password1, password2); + Assert.IsTrue(password1 != password2); + } + + [Test] + public void ToString_ReturnsCorrectFormat() + { + // Arrange + var passwordText = "mySecurePassword"; + var salt = GenerateSalt(); + var algorithm = Password.Pbkdf2Algorithm; + + var password = new Password(passwordText, salt, algorithm); + + // Act + var result = password.ToString(); + + // Assert + Assert.IsTrue(result.Contains("Hash:")); + Assert.IsTrue(result.Contains("Salt:")); + Assert.IsTrue(result.Contains("Algorithm: Pbkdf2")); + } + + [Test] + public void PasswordCreation_WithInvalidSalt_ReturnsEmptyHash() + { + // Arrange + var passwordText = "mySecurePassword"; + byte[] invalidSalt = null; // Invalid salt + var algorithm = new Pbkdf2Algorithm(); + + // Act + var password = new Password(passwordText, invalidSalt, algorithm); + + // Assert + Assert.IsNotNull(password.Hash); + Assert.IsEmpty(password.Hash); + } + } +} diff --git a/Tests/Passwords.cs b/Tests/Passwords.cs deleted file mode 100644 index aaa5f1b..0000000 --- a/Tests/Passwords.cs +++ /dev/null @@ -1,127 +0,0 @@ -using CapyKit; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Tests -{ - internal class Passwords - { - [TestFixture] - public class PasswordTests - { - private static byte[] GenerateSalt(int size = 16) - { - var salt = new byte[size]; - using (var rng = new System.Security.Cryptography.RNGCryptoServiceProvider()) - { - rng.GetBytes(salt); - } - return salt; - } - - [Test] - public void PasswordCreation_WithPbkdf2Algorithm_CreatesValidHash() - { - // Arrange - var passwordText = "mySecurePassword"; - var salt = GenerateSalt(); - var algorithm = Password.Pbkdf2Algorithm; - - // Act - var password = new Password(passwordText, salt, algorithm); - - // Assert - Assert.IsNotNull(password.Hash); - Assert.IsNotEmpty(password.Hash); - Assert.AreEqual(salt, password.Salt); - Assert.AreEqual(algorithm, password.Algorithm); - } - - [Test] - public void PasswordEquality_SamePasswordAndSalt_AreEqual() - { - // Arrange - var passwordText = "mySecurePassword"; - var salt = GenerateSalt(); - var algorithm = Password.Pbkdf2Algorithm; - - var password1 = new Password(passwordText, salt, algorithm); - var password2 = new Password(passwordText, salt, algorithm); - - // Act & Assert - Assert.AreEqual(password1, password2); - Assert.IsTrue(password1 == password2); - } - - [Test] - public void PasswordEquality_DifferentPasswords_AreNotEqual() - { - // Arrange - var salt = GenerateSalt(); - var algorithm = new Pbkdf2Algorithm(); - - var password1 = new Password("passwordOne", salt, algorithm); - var password2 = new Password("passwordTwo", salt, algorithm); - - // Act & Assert - Assert.AreNotEqual(password1, password2); - Assert.IsTrue(password1 != password2); - } - - [Test] - public void PasswordEquality_DifferentSalts_AreNotEqual() - { - // Arrange - var passwordText = "mySecurePassword"; - var salt1 = GenerateSalt(); - var salt2 = GenerateSalt(); - var algorithm = Password.Pbkdf2Algorithm; - - var password1 = new Password(passwordText, salt1, algorithm); - var password2 = new Password(passwordText, salt2, algorithm); - - // Act & Assert - Assert.AreNotEqual(password1, password2); - Assert.IsTrue(password1 != password2); - } - - [Test] - public void ToString_ReturnsCorrectFormat() - { - // Arrange - var passwordText = "mySecurePassword"; - var salt = GenerateSalt(); - var algorithm = Password.Pbkdf2Algorithm; - - var password = new Password(passwordText, salt, algorithm); - - // Act - var result = password.ToString(); - - // Assert - Assert.IsTrue(result.Contains("Hash:")); - Assert.IsTrue(result.Contains("Salt:")); - Assert.IsTrue(result.Contains("Algorithm: Pbkdf2")); - } - - [Test] - public void PasswordCreation_WithInvalidSalt_ReturnsEmptyHash() - { - // Arrange - var passwordText = "mySecurePassword"; - byte[] invalidSalt = null; // Invalid salt - var algorithm = new Pbkdf2Algorithm(); - - // Act - var password = new Password(passwordText, invalidSalt, algorithm); - - // Assert - Assert.IsNotNull(password.Hash); - Assert.IsEmpty(password.Hash); - } - } - } -} diff --git a/Tests/StringExtensions.cs b/Tests/StringExtensionTests.cs similarity index 97% rename from Tests/StringExtensions.cs rename to Tests/StringExtensionTests.cs index 266f1fa..acd3429 100644 --- a/Tests/StringExtensions.cs +++ b/Tests/StringExtensionTests.cs @@ -10,7 +10,7 @@ using NUnit.Framework; namespace Tests { [TestFixture] - internal class StringExtensions + internal class StringExtensionTests { private const string Replacement = "Replaced"; diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index d6604e7..881a38d 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -1,4 +1,4 @@ - + net8.0