Pbkdf2 Class

Implements a generic PBKDF2 DeriveBytes that will work from a custom cryptographic transform. Rfc2898DeriveBytes only implements a SHA-1 underlying hash function.

Definition

Namespace: SnapDB.Security
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class Pbkdf2 : DeriveBytes
Inheritance
Object    DeriveBytes    Pbkdf2

Remarks

It is recommended to use one of the HMAC-SHA implementations unless you understand the implications of using something differently.

Constructors

Pbkdf2 Implements a Pbkdf2 algorthim with a user definded MAC method.

Methods

ComputeSaltedPassword Implements a Pbkdf2 algorthim with a user definded MAC method.
DisposeWhen overridden in a derived class, releases all resources used by the current instance of the DeriveBytes class.
(Inherited from DeriveBytes)
Dispose(Boolean) When overridden in a derived class, releases the unmanaged resources used by the DeriveBytes class and optionally releases the managed resources.
(Overrides DeriveBytesDispose(Boolean))
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)
GetBytes Generates an array of random bytes with the specified length.
(Overrides DeriveBytesGetBytes(Int32))
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)
Reset When overridden in a derived class, resets the state of the operation.
(Overrides DeriveBytesReset)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also