Méthode | Description | |
---|---|---|
GetBytes ( int cb ) : byte[] |
Returns a pseudo-random key from a password, salt and iteration count.
|
|
OpenSslCompatDeriveBytes ( byte password, byte salt, string hashName, int iterations ) : System |
Initializes a new instance of the Crypto.OpenSslCompatDeriveBytes class specifying the password, key salt, hash name, and iterations to use to derive the key.
|
|
OpenSslCompatDeriveBytes ( string password, byte salt, string hashName, int iterations ) : System |
Initializes a new instance of the Crypto.OpenSslCompatDeriveBytes class specifying the password, key salt, hash name, and iterations to use to derive the key.
|
|
Reset ( ) : void |
Resets the state of the operation.
|
public GetBytes ( int cb ) : byte[] | ||
cb | int | The number of pseudo-random key bytes to generate. |
Résultat | byte[] |
public OpenSslCompatDeriveBytes ( byte password, byte salt, string hashName, int iterations ) : System | ||
password | byte | The password for which to derive the key. |
salt | byte | The key salt to use to derive the key. |
hashName | string | The name of the hash algorithm for the operation. (e.g. MD5 or SHA1) |
iterations | int | The number of iterations for the operation. |
Résultat | System |
public OpenSslCompatDeriveBytes ( string password, byte salt, string hashName, int iterations ) : System | ||
password | string | The password for which to derive the key. |
salt | byte | The key salt to use to derive the key. |
hashName | string | The name of the hash algorithm for the operation. (e.g. MD5 or SHA1) |
iterations | int | The number of iterations for the operation. |
Résultat | System |