C# 클래스 Library.Security.Pbkdf2

파일 보기 프로젝트 열기: Alliance-Network/Library 1 사용 예제들

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