# SecurityHelper Methods ## Methods
CompareHashedPassword Compares an unencrypted providedPassword with a stored, encrypted existingPassword.
CompareSessionID Compares two session identifiers.
CompareStrings Compare two strings as case sensative.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetRandomBytes Generates a new byte array of the specified length with random values.
GetRandomPassword Gets a cryptographically strong random password.
GetRandomString(Int32) A convenience method to generate a random string of the specified length using all character sets.
GetRandomString(Int32, ValidCharacterCollection[]) Gets a cryptographically strong random string using the character values found in [!:VALID_CHARACTERS].
GetType Gets the Type of the current instance.
(Inherited from Object)
GetValidCharacterComposition  
HashPassword Hashes an unencrypted password.
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Pbkdf2(String) Generates a new Password object using the PBKDF2 algorithm with the provided password. This overload of the method generates a random salt value for added security.
Pbkdf2(String, Byte[]) Generates a new Password object using the PBKDF2 algorithm with the provided password and salt.
ToString Returns a string that represents the current object.
(Inherited from Object)
## See Also #### Reference SecurityHelper Class CapyKit.Helpers Namespace