메소드 | 설명 | |
---|---|---|
ComputeSaltedPassword ( HMACMethod method, byte password, byte salt, int iterations, int length ) : byte[] |
Implements a PBKDF2 algorthim with a user definded MAC method.
|
|
GetBytes ( int length ) : byte[] |
When overridden in a derived class, returns pseudo-random key bytes.
|
|
PBKDF2 ( HMACMethod method, byte password, byte salt, int iterations ) : System |
Implements a PBKDF2 algorthim with a user definded MAC method.
|
|
Reset ( ) : void |
When overridden in a derived class, resets the state of the operation.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
When overridden in a derived class, releases the unmanaged resources used by the T:System.Security.Cryptography.DeriveBytes class and optionally releases the managed resources.
|
메소드 | 설명 | |
---|---|---|
ComputeNextBlock ( ) : void |
Computes the next block of crypto bytes.
|
|
ComputeNextBlock ( |
||
Initialize ( |
public static ComputeSaltedPassword ( HMACMethod method, byte password, byte salt, int iterations, int length ) : byte[] | ||
method | HMACMethod | the HMAC method to use. |
password | byte | the password to use |
salt | byte | the salt. Must be at least 64-bit |
iterations | int | the number of iterations. Must be at least 1000 |
length | int | the number of bytes to return |
리턴 | byte[] |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
리턴 | void |
public PBKDF2 ( HMACMethod method, byte password, byte salt, int iterations ) : System | ||
method | HMACMethod | the HMAC method to use. |
password | byte | the password to use |
salt | byte | the salt. recommended to be at least 64-bit |
iterations | int | the number of iterations. Recommended to be at least 1000 |
리턴 | System |