C# Class PassFruit.Security.Cryptography.Pbkdf2

RFC2898 Implements password-based key derivation function 2, PBKDF2, by using pseudo-random number generator based on HMACSHA1, hash-based (SHA-1) message authentication code
Afficher le fichier Open project: bettiolo/PassFruit Class Usage Examples

Méthodes publiques

Méthode Description
Compute ( byte password, byte salt, int iterations ) : byte[]
Compute ( string password, byte salt, int iterations ) : byte[]
GenerateSalt ( ) : byte[]
Pbkdf2 ( RandomNumberGenerator randomNumberGenerator ) : System

Méthodes protégées

Méthode Description
PlatformSpecificCompute ( byte password, byte salt, int iterations ) : byte[]

Method Details

Compute() public méthode

public Compute ( byte password, byte salt, int iterations ) : byte[]
password byte
salt byte
iterations int
Résultat byte[]

Compute() public méthode

public Compute ( string password, byte salt, int iterations ) : byte[]
password string
salt byte
iterations int
Résultat byte[]

GenerateSalt() public méthode

public GenerateSalt ( ) : byte[]
Résultat byte[]

Pbkdf2() public méthode

public Pbkdf2 ( RandomNumberGenerator randomNumberGenerator ) : System
randomNumberGenerator RandomNumberGenerator
Résultat System

PlatformSpecificCompute() protected abstract méthode

protected abstract PlatformSpecificCompute ( byte password, byte salt, int iterations ) : byte[]
password byte
salt byte
iterations int
Résultat byte[]