mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-10-18 07:01:50 -05:00
4.9 KiB
4.9 KiB
SecurityHelper Class
A class that contains methods for managing secure data processing and cryptography.
Definition
Namespace: CapyKit.Helpers
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d
C#
public class SecurityHelper
F#
type SecurityHelper = class end
Inheritance | Object → SecurityHelper |
Constructors
SecurityHelper | Initializes a new instance of the SecurityHelper class |
Methods
CompareHashedPassword | Compares an unencrypted providedPassword with a stored, encrypted existingPassword. |
CompareSessionID | Compares two session identifiers. |
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) |
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) |
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) |