C# Class PerplexMail.SecurityDrivenDotNet.PBKDF2

Inheritance: System.Security.Cryptography.DeriveBytes
Afficher le fichier Open project: PerplexInternetmarketing/PerplexMail-for-Umbraco

Méthodes publiques

Méthode Description
GetBytes ( int cb ) : byte[]

Returns pseudo-random bytes.

Initialize ( ) : void
PBKDF2 ( Func hmacFactory, byte password, byte salt, int iterations ) : System

ctor

PBKDF2 ( Func hmacFactory, string password, byte salt ) : System

ctor

PBKDF2 ( Func hmacFactory, string password, byte salt, int iterations ) : System

ctor

PBKDF2 ( Func hmacFactory, string password, int saltSize ) : System

ctor

PBKDF2 ( Func hmacFactory, string password, int saltSize, int iterations ) : System

ctor

Reset ( ) : void

Resets the state.

This method is automatically called if the salt or iteration count is modified.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases the unmanaged resources used, and optionally releases the managed resources.

Private Methods

Méthode Description
Func ( ) : byte[]
Int2 ( uint i ) : byte[]

Method Details

Dispose() protected méthode

Releases the unmanaged resources used, and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only managed resources.
Résultat void

GetBytes() public méthode

Returns pseudo-random bytes.
public GetBytes ( int cb ) : byte[]
cb int The number of pseudo-random bytes to generate.
Résultat byte[]

Initialize() public méthode

public Initialize ( ) : void
Résultat void

PBKDF2() public méthode

ctor
public PBKDF2 ( Func hmacFactory, byte password, byte salt, int iterations ) : System
hmacFactory Func
password byte
salt byte
iterations int
Résultat System

PBKDF2() public méthode

ctor
public PBKDF2 ( Func hmacFactory, string password, byte salt ) : System
hmacFactory Func
password string password
salt byte salt
Résultat System

PBKDF2() public méthode

ctor
public PBKDF2 ( Func hmacFactory, string password, byte salt, int iterations ) : System
hmacFactory Func
password string password
salt byte salt
iterations int iterations
Résultat System

PBKDF2() public méthode

ctor
public PBKDF2 ( Func hmacFactory, string password, int saltSize ) : System
hmacFactory Func
password string password
saltSize int saltSize
Résultat System

PBKDF2() public méthode

ctor
public PBKDF2 ( Func hmacFactory, string password, int saltSize, int iterations ) : System
hmacFactory Func
password string password
saltSize int saltSize
iterations int iterations
Résultat System

Reset() public méthode

Resets the state.
This method is automatically called if the salt or iteration count is modified.
public Reset ( ) : void
Résultat void