CapyKit/Docs/api/CapyKit.Helpers.SecurityHelper.yml
2026-07-01 23:03:53 -05:00

1381 lines
55 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: CapyKit.Helpers.SecurityHelper
commentId: T:CapyKit.Helpers.SecurityHelper
id: SecurityHelper
parent: CapyKit.Helpers
children:
- CapyKit.Helpers.SecurityHelper.CompareHashedPassword(CapyKit.Password,System.String,System.Byte[],CapyKit.IPasswordAlgorithm,System.Object[])
- CapyKit.Helpers.SecurityHelper.CompareHashedPassword``1(CapyKit.Password,System.String,System.Byte[],System.Object[])
- CapyKit.Helpers.SecurityHelper.CompareSessionID(System.String,System.String)
- CapyKit.Helpers.SecurityHelper.GetPassword``1(System.String,System.Byte[],System.Object[])
- CapyKit.Helpers.SecurityHelper.GetPassword``1(System.String,System.Object[])
- CapyKit.Helpers.SecurityHelper.GetRandomPassword(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
- CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32)
- CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
- CapyKit.Helpers.SecurityHelper.GetSalt(System.Int32)
- CapyKit.Helpers.SecurityHelper.Pbkdf2(System.String)
- CapyKit.Helpers.SecurityHelper.Pbkdf2(System.String,System.Byte[])
langs:
- csharp
- vb
name: SecurityHelper
nameWithType: SecurityHelper
fullName: CapyKit.Helpers.SecurityHelper
type: Class
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: SecurityHelper
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 13
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: A class that contains methods for managing secure data processing and cryptography.
example: []
syntax:
content: public class SecurityHelper
content.vb: Public Class SecurityHelper
inheritance:
- System.Object
inheritedMembers:
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.ToString
extensionMethods:
- CapyKit.Helpers.SecurityHelper.CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(CapyKit.Helpers.SecurityHelper)
- System.Object.CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object)
- uid: CapyKit.Helpers.SecurityHelper.CompareHashedPassword``1(CapyKit.Password,System.String,System.Byte[],System.Object[])
commentId: M:CapyKit.Helpers.SecurityHelper.CompareHashedPassword``1(CapyKit.Password,System.String,System.Byte[],System.Object[])
id: CompareHashedPassword``1(CapyKit.Password,System.String,System.Byte[],System.Object[])
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: CompareHashedPassword<T>(Password, string, byte[], params object[])
nameWithType: SecurityHelper.CompareHashedPassword<T>(Password, string, byte[], params object[])
fullName: CapyKit.Helpers.SecurityHelper.CompareHashedPassword<T>(CapyKit.Password, string, byte[], params object[])
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: CompareHashedPassword
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 49
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: >-
Compares an unencrypted <code class="paramref">password</code> with a stored, encrypted <code class="paramref">existingPassword</code>.
This method uses the specified password algorithm type <code class="typeparamref">T</code> to retrieve the hashed version
of the <code class="paramref">password</code> and then compares it with the <code class="paramref">existingPassword</code>.
example: []
syntax:
content: public static bool CompareHashedPassword<T>(Password existingPassword, string password, byte[] salt, params object[] args)
parameters:
- id: existingPassword
type: CapyKit.Password
description: The existing, encrypted password.
- id: password
type: System.String
description: The unencrypted password to be compared.
- id: salt
type: System.Byte[]
description: The salt value used in password hashing.
- id: args
type: System.Object[]
description: Additional arguments required for constructing the password algorithm instance.
typeParameters:
- id: T
description: The type of the password hashing algorithm.
return:
type: System.Boolean
description: <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if hash comparison succeeds, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a> if it fails.
content.vb: Public Shared Function CompareHashedPassword(Of T)(existingPassword As Password, password As String, salt As Byte(), ParamArray args As Object()) As Boolean
overload: CapyKit.Helpers.SecurityHelper.CompareHashedPassword*
nameWithType.vb: SecurityHelper.CompareHashedPassword(Of T)(Password, String, Byte(), ParamArray Object())
fullName.vb: CapyKit.Helpers.SecurityHelper.CompareHashedPassword(Of T)(CapyKit.Password, String, Byte(), ParamArray Object())
name.vb: CompareHashedPassword(Of T)(Password, String, Byte(), ParamArray Object())
- uid: CapyKit.Helpers.SecurityHelper.CompareHashedPassword(CapyKit.Password,System.String,System.Byte[],CapyKit.IPasswordAlgorithm,System.Object[])
commentId: M:CapyKit.Helpers.SecurityHelper.CompareHashedPassword(CapyKit.Password,System.String,System.Byte[],CapyKit.IPasswordAlgorithm,System.Object[])
id: CompareHashedPassword(CapyKit.Password,System.String,System.Byte[],CapyKit.IPasswordAlgorithm,System.Object[])
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: CompareHashedPassword(Password, string, byte[], IPasswordAlgorithm, params object[])
nameWithType: SecurityHelper.CompareHashedPassword(Password, string, byte[], IPasswordAlgorithm, params object[])
fullName: CapyKit.Helpers.SecurityHelper.CompareHashedPassword(CapyKit.Password, string, byte[], CapyKit.IPasswordAlgorithm, params object[])
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: CompareHashedPassword
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 72
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: >-
Compares an unencrypted <code class="paramref">password</code> with a stored, encrypted <code class="paramref">existingPassword</code>.
This method uses the specified <code class="paramref">algorithm</code> to retrieve the hashed version
of the <code class="paramref">password</code> and then compares it with the <code class="paramref">existingPassword</code>.
example: []
syntax:
content: public static bool CompareHashedPassword(Password existingPassword, string password, byte[] salt, IPasswordAlgorithm algorithm, params object[] args)
parameters:
- id: existingPassword
type: CapyKit.Password
description: The existing, encrypted password.
- id: password
type: System.String
description: The unencrypted password to be compared.
- id: salt
type: System.Byte[]
description: The salt value used in password hashing.
- id: algorithm
type: CapyKit.IPasswordAlgorithm
description: The password hashing algorithm.
- id: args
type: System.Object[]
description: Additional arguments required for constructing the password algorithm instance.
return:
type: System.Boolean
description: <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if hash comparison succeeds, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a> if it fails.
content.vb: Public Shared Function CompareHashedPassword(existingPassword As Password, password As String, salt As Byte(), algorithm As IPasswordAlgorithm, ParamArray args As Object()) As Boolean
overload: CapyKit.Helpers.SecurityHelper.CompareHashedPassword*
nameWithType.vb: SecurityHelper.CompareHashedPassword(Password, String, Byte(), IPasswordAlgorithm, ParamArray Object())
fullName.vb: CapyKit.Helpers.SecurityHelper.CompareHashedPassword(CapyKit.Password, String, Byte(), CapyKit.IPasswordAlgorithm, ParamArray Object())
name.vb: CompareHashedPassword(Password, String, Byte(), IPasswordAlgorithm, ParamArray Object())
- uid: CapyKit.Helpers.SecurityHelper.GetPassword``1(System.String,System.Object[])
commentId: M:CapyKit.Helpers.SecurityHelper.GetPassword``1(System.String,System.Object[])
id: GetPassword``1(System.String,System.Object[])
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: GetPassword<T>(string, params object[])
nameWithType: SecurityHelper.GetPassword<T>(string, params object[])
fullName: CapyKit.Helpers.SecurityHelper.GetPassword<T>(string, params object[])
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: GetPassword
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 100
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: >-
Retrieves a <xref href="CapyKit.Password" data-throw-if-not-resolved="false"></xref> object using the specified password and generates a random salt value.
Then it uses that salt to call the overloaded <xref href="CapyKit.Helpers.SecurityHelper.GetPassword%60%601(System.String%2cSystem.Byte%5b%5d%2cSystem.Object%5b%5d)" data-throw-if-not-resolved="false"></xref> method with the given password and
the generated salt as arguments.
example: []
syntax:
content: public static Password GetPassword<T>(string password, params object[] args)
parameters:
- id: password
type: System.String
description: The plaintext password to be hashed.
- id: args
type: System.Object[]
description: >-
Optional constructor arguments for the <xref href="CapyKit.IPasswordAlgorithm" data-throw-if-not-resolved="false"></xref> implementation
instance.
typeParameters:
- id: T
description: The type of <xref href="CapyKit.IPasswordAlgorithm" data-throw-if-not-resolved="false"></xref> implementation to use.
return:
type: CapyKit.Password
description: >-
A new <xref href="CapyKit.Password" data-throw-if-not-resolved="false"></xref> object with the given password and a randomly generated salt, as well as an
instance of <code class="typeparamref">T</code> created using any optional constructor arguments provided.
content.vb: Public Shared Function GetPassword(Of T)(password As String, ParamArray args As Object()) As Password
overload: CapyKit.Helpers.SecurityHelper.GetPassword*
seealso:
- linkId: CapyKit.Helpers.SecurityHelper.SALT_SIZE
commentId: F:CapyKit.Helpers.SecurityHelper.SALT_SIZE
nameWithType.vb: SecurityHelper.GetPassword(Of T)(String, ParamArray Object())
fullName.vb: CapyKit.Helpers.SecurityHelper.GetPassword(Of T)(String, ParamArray Object())
name.vb: GetPassword(Of T)(String, ParamArray Object())
- uid: CapyKit.Helpers.SecurityHelper.GetPassword``1(System.String,System.Byte[],System.Object[])
commentId: M:CapyKit.Helpers.SecurityHelper.GetPassword``1(System.String,System.Byte[],System.Object[])
id: GetPassword``1(System.String,System.Byte[],System.Object[])
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: GetPassword<T>(string, byte[], params object[])
nameWithType: SecurityHelper.GetPassword<T>(string, byte[], params object[])
fullName: CapyKit.Helpers.SecurityHelper.GetPassword<T>(string, byte[], params object[])
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: GetPassword
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 131
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: >-
Retrieves a <xref href="CapyKit.Password" data-throw-if-not-resolved="false"></xref> object using the specified password, salt, and optional
constructor arguments.
remarks: >-
This method uses reflection to find a constructor for the specified password algorithm type (<code class="typeparamref">T</code>).
It emits an error event if a suitable constructor is not found or if there is an error invoking the constructor.
example: []
syntax:
content: 'public static Password GetPassword<T>(string password, byte[] salt, params object[] args) where T : IPasswordAlgorithm'
parameters:
- id: password
type: System.String
description: The plaintext password to be hashed.
- id: salt
type: System.Byte[]
description: >-
A random value used as an additional input to the one-way function that hashes data, a
password or passphrase. This is used to make each output different for the same input
thus adding security.
- id: args
type: System.Object[]
description: >-
Optional constructor arguments for the <xref href="CapyKit.IPasswordAlgorithm" data-throw-if-not-resolved="false"></xref> implementation
instance.
typeParameters:
- id: T
description: The type of <xref href="CapyKit.IPasswordAlgorithm" data-throw-if-not-resolved="false"></xref> implementation to use.
return:
type: CapyKit.Password
description: >-
A new <xref href="CapyKit.Password" data-throw-if-not-resolved="false"></xref> object with the given password and salt, as well as an instance
of <code class="typeparamref">T</code> created using the provided constructor arguments.
content.vb: Public Shared Function GetPassword(Of T As IPasswordAlgorithm)(password As String, salt As Byte(), ParamArray args As Object()) As Password
overload: CapyKit.Helpers.SecurityHelper.GetPassword*
nameWithType.vb: SecurityHelper.GetPassword(Of T)(String, Byte(), ParamArray Object())
fullName.vb: CapyKit.Helpers.SecurityHelper.GetPassword(Of T)(String, Byte(), ParamArray Object())
name.vb: GetPassword(Of T)(String, Byte(), ParamArray Object())
- uid: CapyKit.Helpers.SecurityHelper.Pbkdf2(System.String,System.Byte[])
commentId: M:CapyKit.Helpers.SecurityHelper.Pbkdf2(System.String,System.Byte[])
id: Pbkdf2(System.String,System.Byte[])
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: Pbkdf2(string, byte[])
nameWithType: SecurityHelper.Pbkdf2(string, byte[])
fullName: CapyKit.Helpers.SecurityHelper.Pbkdf2(string, byte[])
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: Pbkdf2
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 179
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: >-
Generates a new <xref href="CapyKit.Password" data-throw-if-not-resolved="false"></xref> object using the PBKDF2 algorithm with the provided <code class="paramref">password</code>
and <code class="paramref">salt</code>.
remarks: >-
This method uses the PBKDF2 (Password-Based Key Derivation Function 2) algorithm to generate
a new password hash. The algorithm iteratively applies a pseudorandom function to the
password and salt, which increases the security of the resulting hash.
example: []
syntax:
content: public static Password Pbkdf2(string password, byte[] salt)
parameters:
- id: password
type: System.String
description: The clear text password to be hashed.
- id: salt
type: System.Byte[]
description: A random value used to add an additional layer of security to the generated hash.
return:
type: CapyKit.Password
description: A new <xref href="CapyKit.Password" data-throw-if-not-resolved="false"></xref> object containing the hashed password and salt.
content.vb: Public Shared Function Pbkdf2(password As String, salt As Byte()) As Password
overload: CapyKit.Helpers.SecurityHelper.Pbkdf2*
nameWithType.vb: SecurityHelper.Pbkdf2(String, Byte())
fullName.vb: CapyKit.Helpers.SecurityHelper.Pbkdf2(String, Byte())
name.vb: Pbkdf2(String, Byte())
- uid: CapyKit.Helpers.SecurityHelper.Pbkdf2(System.String)
commentId: M:CapyKit.Helpers.SecurityHelper.Pbkdf2(System.String)
id: Pbkdf2(System.String)
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: Pbkdf2(string)
nameWithType: SecurityHelper.Pbkdf2(string)
fullName: CapyKit.Helpers.SecurityHelper.Pbkdf2(string)
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: Pbkdf2
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 200
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: >-
Generates a new <xref href="CapyKit.Password" data-throw-if-not-resolved="false"></xref> object using the PBKDF2 algorithm with the provided <code class="paramref">password</code>.
This overload of the method generates a random salt value for added security.
remarks: >-
This method uses the PBKDF2 (Password-Based Key Derivation Function 2) algorithm to generate
a new password hash. The algorithm iteratively applies a pseudorandom function to the
password and salt, which increases the security of the resulting hash. In this overload,
a random salt value is generated using <xref href="CapyKit.Helpers.SecurityHelper.GetRandomBytes(System.Int32)" data-throw-if-not-resolved="false"></xref> method.
example: []
syntax:
content: public static Password Pbkdf2(string password)
parameters:
- id: password
type: System.String
description: The clear text password to be hashed.
return:
type: CapyKit.Password
description: A new <xref href="CapyKit.Password" data-throw-if-not-resolved="false"></xref> object containing the hashed password and a randomly generated salt.
content.vb: Public Shared Function Pbkdf2(password As String) As Password
overload: CapyKit.Helpers.SecurityHelper.Pbkdf2*
nameWithType.vb: SecurityHelper.Pbkdf2(String)
fullName.vb: CapyKit.Helpers.SecurityHelper.Pbkdf2(String)
name.vb: Pbkdf2(String)
- uid: CapyKit.Helpers.SecurityHelper.GetRandomPassword(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
commentId: M:CapyKit.Helpers.SecurityHelper.GetRandomPassword(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
id: GetRandomPassword(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: GetRandomPassword(int, params ValidCharacterCollection[])
nameWithType: SecurityHelper.GetRandomPassword(int, params ValidCharacterCollection[])
fullName: CapyKit.Helpers.SecurityHelper.GetRandomPassword(int, params CapyKit.Helpers.ValidCharacterCollection[])
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: GetRandomPassword
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 215
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: Gets a cryptographically strong random password.
example: []
syntax:
content: public static string GetRandomPassword(int length, params ValidCharacterCollection[] validCharacters)
parameters:
- id: length
type: System.Int32
description: The length of the password to generate.
- id: validCharacters
type: CapyKit.Helpers.ValidCharacterCollection[]
description: >-
An array of <xref href="CapyKit.Helpers.ValidCharacterCollection" data-throw-if-not-resolved="false"></xref> enumeration values representing the desired
character sets.
return:
type: System.String
description: The password.
content.vb: Public Shared Function GetRandomPassword(length As Integer, ParamArray validCharacters As ValidCharacterCollection()) As String
overload: CapyKit.Helpers.SecurityHelper.GetRandomPassword*
nameWithType.vb: SecurityHelper.GetRandomPassword(Integer, ParamArray ValidCharacterCollection())
fullName.vb: CapyKit.Helpers.SecurityHelper.GetRandomPassword(Integer, ParamArray CapyKit.Helpers.ValidCharacterCollection())
name.vb: GetRandomPassword(Integer, ParamArray ValidCharacterCollection())
- uid: CapyKit.Helpers.SecurityHelper.CompareSessionID(System.String,System.String)
commentId: M:CapyKit.Helpers.SecurityHelper.CompareSessionID(System.String,System.String)
id: CompareSessionID(System.String,System.String)
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: CompareSessionID(string, string)
nameWithType: SecurityHelper.CompareSessionID(string, string)
fullName: CapyKit.Helpers.SecurityHelper.CompareSessionID(string, string)
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: CompareSessionID
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 231
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: Compares two session identifiers.
example: []
syntax:
content: public static bool CompareSessionID(string first, string second)
parameters:
- id: first
type: System.String
description: The first session identifier.
- id: second
type: System.String
description: The second session identifier.
return:
type: System.Boolean
description: <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if comparison succeeds, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a> if not.
content.vb: Public Shared Function CompareSessionID(first As String, second As String) As Boolean
overload: CapyKit.Helpers.SecurityHelper.CompareSessionID*
nameWithType.vb: SecurityHelper.CompareSessionID(String, String)
fullName.vb: CapyKit.Helpers.SecurityHelper.CompareSessionID(String, String)
name.vb: CompareSessionID(String, String)
- uid: CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32)
commentId: M:CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32)
id: GetRandomString(System.Int32)
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: GetRandomString(int)
nameWithType: SecurityHelper.GetRandomString(int)
fullName: CapyKit.Helpers.SecurityHelper.GetRandomString(int)
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: GetRandomString
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 246
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: A convenience method to generate a random string of the specified length using all character sets.
example: []
syntax:
content: public static string GetRandomString(int length)
parameters:
- id: length
type: System.Int32
description: The desired length of the generated random string.
return:
type: System.String
content.vb: Public Shared Function GetRandomString(length As Integer) As String
overload: CapyKit.Helpers.SecurityHelper.GetRandomString*
seealso:
- linkId: CapyKit.Helpers.ValidCharacterCollection
commentId: T:CapyKit.Helpers.ValidCharacterCollection
- linkId: CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
commentId: M:CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
nameWithType.vb: SecurityHelper.GetRandomString(Integer)
fullName.vb: CapyKit.Helpers.SecurityHelper.GetRandomString(Integer)
name.vb: GetRandomString(Integer)
- uid: CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
commentId: M:CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
id: GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: GetRandomString(int, params ValidCharacterCollection[])
nameWithType: SecurityHelper.GetRandomString(int, params ValidCharacterCollection[])
fullName: CapyKit.Helpers.SecurityHelper.GetRandomString(int, params CapyKit.Helpers.ValidCharacterCollection[])
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: GetRandomString
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 258
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: Gets a cryptographically strong random string using the character values found in VALID_CHARACTERS.
example: []
syntax:
content: public static string GetRandomString(int length, params ValidCharacterCollection[] validChars)
parameters:
- id: length
type: System.Int32
description: The length of the string to create.
- id: validChars
type: CapyKit.Helpers.ValidCharacterCollection[]
return:
type: System.String
description: The random string.
content.vb: Public Shared Function GetRandomString(length As Integer, ParamArray validChars As ValidCharacterCollection()) As String
overload: CapyKit.Helpers.SecurityHelper.GetRandomString*
nameWithType.vb: SecurityHelper.GetRandomString(Integer, ParamArray ValidCharacterCollection())
fullName.vb: CapyKit.Helpers.SecurityHelper.GetRandomString(Integer, ParamArray CapyKit.Helpers.ValidCharacterCollection())
name.vb: GetRandomString(Integer, ParamArray ValidCharacterCollection())
- uid: CapyKit.Helpers.SecurityHelper.GetSalt(System.Int32)
commentId: M:CapyKit.Helpers.SecurityHelper.GetSalt(System.Int32)
id: GetSalt(System.Int32)
parent: CapyKit.Helpers.SecurityHelper
langs:
- csharp
- vb
name: GetSalt(int)
nameWithType: SecurityHelper.GetSalt(int)
fullName: CapyKit.Helpers.SecurityHelper.GetSalt(int)
type: Method
source:
remote:
path: CapyKit/Helpers/SecurityHelper.cs
branch: main
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
id: GetSalt
path: ../CapyKit/Helpers/SecurityHelper.cs
startLine: 295
assemblies:
- CapyKit
namespace: CapyKit.Helpers
summary: Generates a random byte array that can act as a salt.
remarks: >-
A default length of <xref href="CapyKit.Helpers.SecurityHelper.SALT_SIZE" data-throw-if-not-resolved="false"></xref> is provided as a sane default. Larger values can be used for increased
entropy.
example: []
syntax:
content: public static byte[] GetSalt(int length = 32)
parameters:
- id: length
type: System.Int32
description: (Optional) The desired length of the generated byte array.
return:
type: System.Byte[]
description: An array of byte.
content.vb: Public Shared Function GetSalt(length As Integer = 32) As Byte()
overload: CapyKit.Helpers.SecurityHelper.GetSalt*
nameWithType.vb: SecurityHelper.GetSalt(Integer)
fullName.vb: CapyKit.Helpers.SecurityHelper.GetSalt(Integer)
name.vb: GetSalt(Integer)
references:
- uid: CapyKit.Helpers
commentId: N:CapyKit.Helpers
href: CapyKit.html
name: CapyKit.Helpers
nameWithType: CapyKit.Helpers
fullName: CapyKit.Helpers
spec.csharp:
- uid: CapyKit
name: CapyKit
href: CapyKit.html
- name: .
- uid: CapyKit.Helpers
name: Helpers
href: CapyKit.Helpers.html
spec.vb:
- uid: CapyKit
name: CapyKit
href: CapyKit.html
- name: .
- uid: CapyKit.Helpers
name: Helpers
href: CapyKit.Helpers.html
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
name: object
nameWithType: object
fullName: object
nameWithType.vb: Object
fullName.vb: Object
name.vb: Object
- uid: System.Object.Equals(System.Object)
commentId: M:System.Object.Equals(System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
name: Equals(object)
nameWithType: object.Equals(object)
fullName: object.Equals(object)
nameWithType.vb: Object.Equals(Object)
fullName.vb: Object.Equals(Object)
name.vb: Equals(Object)
spec.csharp:
- uid: System.Object.Equals(System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.Equals(System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.Equals(System.Object,System.Object)
commentId: M:System.Object.Equals(System.Object,System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
name: Equals(object, object)
nameWithType: object.Equals(object, object)
fullName: object.Equals(object, object)
nameWithType.vb: Object.Equals(Object, Object)
fullName.vb: Object.Equals(Object, Object)
name.vb: Equals(Object, Object)
spec.csharp:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.GetHashCode
commentId: M:System.Object.GetHashCode
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
name: GetHashCode()
nameWithType: object.GetHashCode()
fullName: object.GetHashCode()
nameWithType.vb: Object.GetHashCode()
fullName.vb: Object.GetHashCode()
spec.csharp:
- uid: System.Object.GetHashCode
name: GetHashCode
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
- name: (
- name: )
spec.vb:
- uid: System.Object.GetHashCode
name: GetHashCode
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
- name: (
- name: )
- uid: System.Object.GetType
commentId: M:System.Object.GetType
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
name: GetType()
nameWithType: object.GetType()
fullName: object.GetType()
nameWithType.vb: Object.GetType()
fullName.vb: Object.GetType()
spec.csharp:
- uid: System.Object.GetType
name: GetType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
- name: (
- name: )
spec.vb:
- uid: System.Object.GetType
name: GetType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
- name: (
- name: )
- uid: System.Object.MemberwiseClone
commentId: M:System.Object.MemberwiseClone
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
name: MemberwiseClone()
nameWithType: object.MemberwiseClone()
fullName: object.MemberwiseClone()
nameWithType.vb: Object.MemberwiseClone()
fullName.vb: Object.MemberwiseClone()
spec.csharp:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
- name: (
- name: )
spec.vb:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
- name: (
- name: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
name: ReferenceEquals(object, object)
nameWithType: object.ReferenceEquals(object, object)
fullName: object.ReferenceEquals(object, object)
nameWithType.vb: Object.ReferenceEquals(Object, Object)
fullName.vb: Object.ReferenceEquals(Object, Object)
name.vb: ReferenceEquals(Object, Object)
spec.csharp:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.ToString
commentId: M:System.Object.ToString
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
name: ToString()
nameWithType: object.ToString()
fullName: object.ToString()
nameWithType.vb: Object.ToString()
fullName.vb: Object.ToString()
spec.csharp:
- uid: System.Object.ToString
name: ToString
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
- name: (
- name: )
spec.vb:
- uid: System.Object.ToString
name: ToString
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
- name: (
- name: )
- uid: CapyKit.Helpers.SecurityHelper.CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(CapyKit.Helpers.SecurityHelper)
commentId: M:CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(``0,``0)
parent: CapyKit.Extensions.ObjectExtensions
definition: CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(``0,``0)
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties__1___0___0_
name: UpdateProperties<SecurityHelper>(SecurityHelper, SecurityHelper)
nameWithType: ObjectExtensions.UpdateProperties<SecurityHelper>(SecurityHelper, SecurityHelper)
fullName: CapyKit.Extensions.ObjectExtensions.UpdateProperties<CapyKit.Helpers.SecurityHelper>(CapyKit.Helpers.SecurityHelper, CapyKit.Helpers.SecurityHelper)
nameWithType.vb: ObjectExtensions.UpdateProperties(Of SecurityHelper)(SecurityHelper, SecurityHelper)
fullName.vb: CapyKit.Extensions.ObjectExtensions.UpdateProperties(Of CapyKit.Helpers.SecurityHelper)(CapyKit.Helpers.SecurityHelper, CapyKit.Helpers.SecurityHelper)
name.vb: UpdateProperties(Of SecurityHelper)(SecurityHelper, SecurityHelper)
spec.csharp:
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(CapyKit.Helpers.SecurityHelper,CapyKit.Helpers.SecurityHelper)
name: UpdateProperties
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties__1___0___0_
- name: <
- uid: CapyKit.Helpers.SecurityHelper
name: SecurityHelper
href: CapyKit.Helpers.SecurityHelper.html
- name: '>'
- name: (
- uid: CapyKit.Helpers.SecurityHelper
name: SecurityHelper
href: CapyKit.Helpers.SecurityHelper.html
- name: ','
- name: " "
- uid: CapyKit.Helpers.SecurityHelper
name: SecurityHelper
href: CapyKit.Helpers.SecurityHelper.html
- name: )
spec.vb:
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(CapyKit.Helpers.SecurityHelper,CapyKit.Helpers.SecurityHelper)
name: UpdateProperties
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties__1___0___0_
- name: (
- name: Of
- name: " "
- uid: CapyKit.Helpers.SecurityHelper
name: SecurityHelper
href: CapyKit.Helpers.SecurityHelper.html
- name: )
- name: (
- uid: CapyKit.Helpers.SecurityHelper
name: SecurityHelper
href: CapyKit.Helpers.SecurityHelper.html
- name: ','
- name: " "
- uid: CapyKit.Helpers.SecurityHelper
name: SecurityHelper
href: CapyKit.Helpers.SecurityHelper.html
- name: )
- uid: System.Object.CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object)
commentId: M:CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
parent: CapyKit.Extensions.ObjectExtensions
definition: CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties_System_Object_System_Object_
name: UpdateProperties(object, object)
nameWithType: ObjectExtensions.UpdateProperties(object, object)
fullName: CapyKit.Extensions.ObjectExtensions.UpdateProperties(object, object)
nameWithType.vb: ObjectExtensions.UpdateProperties(Object, Object)
fullName.vb: CapyKit.Extensions.ObjectExtensions.UpdateProperties(Object, Object)
name.vb: UpdateProperties(Object, Object)
spec.csharp:
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
name: UpdateProperties
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties_System_Object_System_Object_
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
name: UpdateProperties
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties_System_Object_System_Object_
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(``0,``0)
commentId: M:CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(``0,``0)
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties__1___0___0_
name: UpdateProperties<T>(T, T)
nameWithType: ObjectExtensions.UpdateProperties<T>(T, T)
fullName: CapyKit.Extensions.ObjectExtensions.UpdateProperties<T>(T, T)
nameWithType.vb: ObjectExtensions.UpdateProperties(Of T)(T, T)
fullName.vb: CapyKit.Extensions.ObjectExtensions.UpdateProperties(Of T)(T, T)
name.vb: UpdateProperties(Of T)(T, T)
spec.csharp:
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(``0,``0)
name: UpdateProperties
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties__1___0___0_
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: ','
- name: " "
- name: T
- name: )
spec.vb:
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(``0,``0)
name: UpdateProperties
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties__1___0___0_
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: ','
- name: " "
- name: T
- name: )
- uid: CapyKit.Extensions.ObjectExtensions
commentId: T:CapyKit.Extensions.ObjectExtensions
parent: CapyKit.Extensions
href: CapyKit.Extensions.ObjectExtensions.html
name: ObjectExtensions
nameWithType: ObjectExtensions
fullName: CapyKit.Extensions.ObjectExtensions
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
commentId: M:CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
isExternal: true
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties_System_Object_System_Object_
name: UpdateProperties(object, object)
nameWithType: ObjectExtensions.UpdateProperties(object, object)
fullName: CapyKit.Extensions.ObjectExtensions.UpdateProperties(object, object)
nameWithType.vb: ObjectExtensions.UpdateProperties(Object, Object)
fullName.vb: CapyKit.Extensions.ObjectExtensions.UpdateProperties(Object, Object)
name.vb: UpdateProperties(Object, Object)
spec.csharp:
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
name: UpdateProperties
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties_System_Object_System_Object_
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
name: UpdateProperties
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties_System_Object_System_Object_
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: CapyKit.Extensions
commentId: N:CapyKit.Extensions
href: CapyKit.html
name: CapyKit.Extensions
nameWithType: CapyKit.Extensions
fullName: CapyKit.Extensions
spec.csharp:
- uid: CapyKit
name: CapyKit
href: CapyKit.html
- name: .
- uid: CapyKit.Extensions
name: Extensions
href: CapyKit.Extensions.html
spec.vb:
- uid: CapyKit
name: CapyKit
href: CapyKit.html
- name: .
- uid: CapyKit.Extensions
name: Extensions
href: CapyKit.Extensions.html
- uid: CapyKit.Helpers.SecurityHelper.CompareHashedPassword*
commentId: Overload:CapyKit.Helpers.SecurityHelper.CompareHashedPassword
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_CompareHashedPassword__1_CapyKit_Password_System_String_System_Byte___System_Object___
name: CompareHashedPassword
nameWithType: SecurityHelper.CompareHashedPassword
fullName: CapyKit.Helpers.SecurityHelper.CompareHashedPassword
- uid: CapyKit.Password
commentId: T:CapyKit.Password
parent: CapyKit
href: CapyKit.Password.html
name: Password
nameWithType: Password
fullName: CapyKit.Password
- uid: System.String
commentId: T:System.String
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
name: string
nameWithType: string
fullName: string
nameWithType.vb: String
fullName.vb: String
name.vb: String
- uid: System.Byte[]
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.byte
name: byte[]
nameWithType: byte[]
fullName: byte[]
nameWithType.vb: Byte()
fullName.vb: Byte()
name.vb: Byte()
spec.csharp:
- uid: System.Byte
name: byte
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.byte
- name: '['
- name: ']'
spec.vb:
- uid: System.Byte
name: Byte
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.byte
- name: (
- name: )
- uid: System.Object[]
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
name: object[]
nameWithType: object[]
fullName: object[]
nameWithType.vb: Object()
fullName.vb: Object()
name.vb: Object()
spec.csharp:
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: '['
- name: ']'
spec.vb:
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: (
- name: )
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
- uid: CapyKit
commentId: N:CapyKit
href: CapyKit.html
name: CapyKit
nameWithType: CapyKit
fullName: CapyKit
- uid: CapyKit.IPasswordAlgorithm
commentId: T:CapyKit.IPasswordAlgorithm
parent: CapyKit
href: CapyKit.IPasswordAlgorithm.html
name: IPasswordAlgorithm
nameWithType: IPasswordAlgorithm
fullName: CapyKit.IPasswordAlgorithm
- uid: CapyKit.Helpers.SecurityHelper.SALT_SIZE
commentId: F:CapyKit.Helpers.SecurityHelper.SALT_SIZE
name: SALT_SIZE
nameWithType: SecurityHelper.SALT_SIZE
fullName: CapyKit.Helpers.SecurityHelper.SALT_SIZE
- uid: CapyKit.Helpers.SecurityHelper.GetPassword``1(System.String,System.Byte[],System.Object[])
commentId: M:CapyKit.Helpers.SecurityHelper.GetPassword``1(System.String,System.Byte[],System.Object[])
isExternal: true
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_GetPassword__1_System_String_System_Byte___System_Object___
name: GetPassword<T>(string, byte[], params object[])
nameWithType: SecurityHelper.GetPassword<T>(string, byte[], params object[])
fullName: CapyKit.Helpers.SecurityHelper.GetPassword<T>(string, byte[], params object[])
nameWithType.vb: SecurityHelper.GetPassword(Of T)(String, Byte(), ParamArray Object())
fullName.vb: CapyKit.Helpers.SecurityHelper.GetPassword(Of T)(String, Byte(), ParamArray Object())
name.vb: GetPassword(Of T)(String, Byte(), ParamArray Object())
spec.csharp:
- uid: CapyKit.Helpers.SecurityHelper.GetPassword``1(System.String,System.Byte[],System.Object[])
name: GetPassword
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_GetPassword__1_System_String_System_Byte___System_Object___
- name: <
- name: T
- name: '>'
- name: (
- uid: System.String
name: string
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
- name: ','
- name: " "
- uid: System.Byte
name: byte
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.byte
- name: '['
- name: ']'
- name: ','
- name: " "
- name: params
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: '['
- name: ']'
- name: )
spec.vb:
- uid: CapyKit.Helpers.SecurityHelper.GetPassword``1(System.String,System.Byte[],System.Object[])
name: GetPassword
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_GetPassword__1_System_String_System_Byte___System_Object___
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- uid: System.String
name: String
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
- name: ','
- name: " "
- uid: System.Byte
name: Byte
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.byte
- name: (
- name: )
- name: ','
- name: " "
- name: ParamArray
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: (
- name: )
- name: )
- uid: CapyKit.Helpers.SecurityHelper.GetPassword*
commentId: Overload:CapyKit.Helpers.SecurityHelper.GetPassword
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_GetPassword__1_System_String_System_Object___
name: GetPassword
nameWithType: SecurityHelper.GetPassword
fullName: CapyKit.Helpers.SecurityHelper.GetPassword
- uid: CapyKit.Helpers.SecurityHelper.Pbkdf2*
commentId: Overload:CapyKit.Helpers.SecurityHelper.Pbkdf2
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_Pbkdf2_System_String_System_Byte___
name: Pbkdf2
nameWithType: SecurityHelper.Pbkdf2
fullName: CapyKit.Helpers.SecurityHelper.Pbkdf2
- uid: CapyKit.Helpers.SecurityHelper.GetRandomBytes(System.Int32)
commentId: M:CapyKit.Helpers.SecurityHelper.GetRandomBytes(System.Int32)
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
name: GetRandomBytes(int)
nameWithType: SecurityHelper.GetRandomBytes(int)
fullName: CapyKit.Helpers.SecurityHelper.GetRandomBytes(int)
nameWithType.vb: SecurityHelper.GetRandomBytes(Integer)
fullName.vb: CapyKit.Helpers.SecurityHelper.GetRandomBytes(Integer)
name.vb: GetRandomBytes(Integer)
spec.csharp:
- uid: CapyKit.Helpers.SecurityHelper.GetRandomBytes(System.Int32)
name: GetRandomBytes
- name: (
- uid: System.Int32
name: int
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
- name: )
spec.vb:
- uid: CapyKit.Helpers.SecurityHelper.GetRandomBytes(System.Int32)
name: GetRandomBytes
- name: (
- uid: System.Int32
name: Integer
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
- name: )
- uid: CapyKit.Helpers.ValidCharacterCollection
commentId: T:CapyKit.Helpers.ValidCharacterCollection
parent: CapyKit.Helpers
href: CapyKit.Helpers.ValidCharacterCollection.html
name: ValidCharacterCollection
nameWithType: ValidCharacterCollection
fullName: CapyKit.Helpers.ValidCharacterCollection
- uid: CapyKit.Helpers.SecurityHelper.GetRandomPassword*
commentId: Overload:CapyKit.Helpers.SecurityHelper.GetRandomPassword
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_GetRandomPassword_System_Int32_CapyKit_Helpers_ValidCharacterCollection___
name: GetRandomPassword
nameWithType: SecurityHelper.GetRandomPassword
fullName: CapyKit.Helpers.SecurityHelper.GetRandomPassword
- uid: System.Int32
commentId: T:System.Int32
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
name: int
nameWithType: int
fullName: int
nameWithType.vb: Integer
fullName.vb: Integer
name.vb: Integer
- uid: CapyKit.Helpers.ValidCharacterCollection[]
isExternal: true
href: CapyKit.Helpers.ValidCharacterCollection.html
name: ValidCharacterCollection[]
nameWithType: ValidCharacterCollection[]
fullName: CapyKit.Helpers.ValidCharacterCollection[]
nameWithType.vb: ValidCharacterCollection()
fullName.vb: CapyKit.Helpers.ValidCharacterCollection()
name.vb: ValidCharacterCollection()
spec.csharp:
- uid: CapyKit.Helpers.ValidCharacterCollection
name: ValidCharacterCollection
href: CapyKit.Helpers.ValidCharacterCollection.html
- name: '['
- name: ']'
spec.vb:
- uid: CapyKit.Helpers.ValidCharacterCollection
name: ValidCharacterCollection
href: CapyKit.Helpers.ValidCharacterCollection.html
- name: (
- name: )
- uid: CapyKit.Helpers.SecurityHelper.CompareSessionID*
commentId: Overload:CapyKit.Helpers.SecurityHelper.CompareSessionID
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_CompareSessionID_System_String_System_String_
name: CompareSessionID
nameWithType: SecurityHelper.CompareSessionID
fullName: CapyKit.Helpers.SecurityHelper.CompareSessionID
- uid: CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
commentId: M:CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
isExternal: true
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_GetRandomString_System_Int32_CapyKit_Helpers_ValidCharacterCollection___
name: GetRandomString(int, params ValidCharacterCollection[])
nameWithType: SecurityHelper.GetRandomString(int, params ValidCharacterCollection[])
fullName: CapyKit.Helpers.SecurityHelper.GetRandomString(int, params CapyKit.Helpers.ValidCharacterCollection[])
nameWithType.vb: SecurityHelper.GetRandomString(Integer, ParamArray ValidCharacterCollection())
fullName.vb: CapyKit.Helpers.SecurityHelper.GetRandomString(Integer, ParamArray CapyKit.Helpers.ValidCharacterCollection())
name.vb: GetRandomString(Integer, ParamArray ValidCharacterCollection())
spec.csharp:
- uid: CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
name: GetRandomString
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_GetRandomString_System_Int32_CapyKit_Helpers_ValidCharacterCollection___
- name: (
- uid: System.Int32
name: int
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
- name: ','
- name: " "
- name: params
- name: " "
- uid: CapyKit.Helpers.ValidCharacterCollection
name: ValidCharacterCollection
href: CapyKit.Helpers.ValidCharacterCollection.html
- name: '['
- name: ']'
- name: )
spec.vb:
- uid: CapyKit.Helpers.SecurityHelper.GetRandomString(System.Int32,CapyKit.Helpers.ValidCharacterCollection[])
name: GetRandomString
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_GetRandomString_System_Int32_CapyKit_Helpers_ValidCharacterCollection___
- name: (
- uid: System.Int32
name: Integer
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
- name: ','
- name: " "
- name: ParamArray
- name: " "
- uid: CapyKit.Helpers.ValidCharacterCollection
name: ValidCharacterCollection
href: CapyKit.Helpers.ValidCharacterCollection.html
- name: (
- name: )
- name: )
- uid: CapyKit.Helpers.SecurityHelper.GetRandomString*
commentId: Overload:CapyKit.Helpers.SecurityHelper.GetRandomString
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_GetRandomString_System_Int32_
name: GetRandomString
nameWithType: SecurityHelper.GetRandomString
fullName: CapyKit.Helpers.SecurityHelper.GetRandomString
- uid: CapyKit.Helpers.SecurityHelper.GetSalt*
commentId: Overload:CapyKit.Helpers.SecurityHelper.GetSalt
href: CapyKit.Helpers.SecurityHelper.html#CapyKit_Helpers_SecurityHelper_GetSalt_System_Int32_
name: GetSalt
nameWithType: SecurityHelper.GetSalt
fullName: CapyKit.Helpers.SecurityHelper.GetSalt