C# Класс Library.Security.Pbkdf2

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Function byte[]

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

Метод Описание
GetBytes ( int count ) : byte[]

Returns a pseudo-random key from a password, salt and iteration count.

Pbkdf2 ( HMAC algorithm, byte password, byte salt, int iterations ) : System

Creates new instance.

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

Метод Описание
Function ( ) : byte[]

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

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

Returns a pseudo-random key from a password, salt and iteration count.
public GetBytes ( int count ) : byte[]
count int Number of bytes to return.
Результат byte[]

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

Creates new instance.
Algorithm cannot be null - Password cannot be null. -or- Salt cannot be null.
public Pbkdf2 ( HMAC algorithm, byte password, byte salt, int iterations ) : System
algorithm System.Security.Cryptography.HMAC HMAC algorithm to use.
password byte The password used to derive the key.
salt byte The key salt used to derive the key.
iterations int The number of iterations for the operation.
Результат System