Rfc2898DeriveBytes

Rfc2898DeriveBytes


Provides a methods to derive Byte array keys from string passwords.


Remarks

This class implements the RFC2898 standard for generating keys from string or byte array passwords utilizing the SHA-1 hash algorithm.

With this class, a key of any length can be generated from a string or byte array password.

See Also

Project VBCorLib Overview | Constructors

Implements:

IObject 

Public:

Properties:

NameDescription
 IterationCount (get)Returns the number of iterations used when computing the next set of bytes. 
 IterationCount (let)Sets the number of iterations to be used when computing the next set of bytes. 
 Salt (get)Returns any Salt being used during key generation. 
 Salt (let)Sets the Salt to be used during key generation. 

Methods:

NameDescription
 EqualsThis function determines if the value passed in is the same as the current object instance. Meaning, are the Value and this object the same object in memory. 
 GetBytesReturns the next set of bytes to be generated for a specific string password. 
 GetHashCodeReturns a psuedo-unique number used to help identify this object in memory. The current method is to return the value obtained from ObjPtr. If a different method needs to be impelmented then change the method here in this function. An override might be necessary if the hashcode should be derived from a value contained within the class. 
 ResetResets the key generator. 
 ToStringReturns a string representation of this object instance. The default method simply returns the application name and class name in which this class resides. A Person class may return the persons name instead.