C# Класс PerplexMail.SecurityDrivenDotNet.PBKDF2

Наследование: System.Security.Cryptography.DeriveBytes
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

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

Приватные методы

Метод Описание
Func ( ) : byte[]
Int2 ( uint i ) : byte[]

Описание методов

Dispose() защищенный Метод

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.
Результат void

GetBytes() публичный Метод

Returns pseudo-random bytes.
public GetBytes ( int cb ) : byte[]
cb int The number of pseudo-random bytes to generate.
Результат byte[]

Initialize() публичный Метод

public Initialize ( ) : void
Результат void

PBKDF2() публичный Метод

ctor
public PBKDF2 ( Func hmacFactory, byte password, byte salt, int iterations ) : System
hmacFactory Func
password byte
salt byte
iterations int
Результат System

PBKDF2() публичный Метод

ctor
public PBKDF2 ( Func hmacFactory, string password, byte salt ) : System
hmacFactory Func
password string password
salt byte salt
Результат System

PBKDF2() публичный Метод

ctor
public PBKDF2 ( Func hmacFactory, string password, byte salt, int iterations ) : System
hmacFactory Func
password string password
salt byte salt
iterations int iterations
Результат System

PBKDF2() публичный Метод

ctor
public PBKDF2 ( Func hmacFactory, string password, int saltSize ) : System
hmacFactory Func
password string password
saltSize int saltSize
Результат System

PBKDF2() публичный Метод

ctor
public PBKDF2 ( Func hmacFactory, string password, int saltSize, int iterations ) : System
hmacFactory Func
password string password
saltSize int saltSize
iterations int iterations
Результат System

Reset() публичный Метод

Resets the state.
This method is automatically called if the salt or iteration count is modified.
public Reset ( ) : void
Результат void