KeyDerivation.Pbkdf2(String, Byte[], KeyDerivationPrf, Int32, Int32) 메서드

정의

PBKDF2 알고리즘을 사용하여 키 파생을 수행합니다.

public:
 static cli::array <System::Byte> ^ Pbkdf2(System::String ^ password, cli::array <System::Byte> ^ salt, Microsoft::AspNetCore::Cryptography::KeyDerivation::KeyDerivationPrf prf, int iterationCount, int numBytesRequested);
public static byte[] Pbkdf2 (string password, byte[] salt, Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf prf, int iterationCount, int numBytesRequested);
static member Pbkdf2 : string * byte[] * Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf * int * int -> byte[]
Public Shared Function Pbkdf2 (password As String, salt As Byte(), prf As KeyDerivationPrf, iterationCount As Integer, numBytesRequested As Integer) As Byte()

매개 변수

password
String

키를 파생시킬 암호입니다.

salt
Byte[]

키 파생 프로세스 중에 사용할 솔트입니다.

prf
KeyDerivationPrf

키 파생 프로세스에 사용할 의사 임의 함수입니다.

iterationCount
Int32

키 파생 프로세스 중에 적용할 의사 임의 함수의 반복 횟수입니다.

numBytesRequested
Int32

파생 키의 원하는 길이(바이트)입니다.

반환

Byte[]

파생된 키입니다.

설명

PBKDF2 알고리즘은 RFC 2898에 지정됩니다.

적용 대상