PasswordDeriveBytes.GetBytes(Int32) Metoda

Definice

Upozornění

Rfc2898DeriveBytes replaces PasswordDeriveBytes for deriving key material from a password and is preferred in new applications.

Vrátí pseudonáhodné bajty klíče.

public:
 override cli::array <System::Byte> ^ GetBytes(int cb);
[System.Obsolete("Rfc2898DeriveBytes replaces PasswordDeriveBytes for deriving key material from a password and is preferred in new applications.")]
public override byte[] GetBytes (int cb);
public override byte[] GetBytes (int cb);
[<System.Obsolete("Rfc2898DeriveBytes replaces PasswordDeriveBytes for deriving key material from a password and is preferred in new applications.")>]
override this.GetBytes : int -> byte[]
override this.GetBytes : int -> byte[]
Public Overrides Function GetBytes (cb As Integer) As Byte()

Parametry

cb
Int32

Počet pseudonáhodných bajtů klíčů, které se mají vygenerovat.

Návraty

Byte[]

Bajtové pole naplněné pseudonahodnými bajty klíče.

Atributy

Poznámky

Tato metoda může vytvořit libovolný počet pseudonáhodných bajtů. Síla bajtové sekvence je však omezena počtem bajtů ve výstupu hodnoty hash.

Platí pro

Viz také