PasswordHasherOptions.IterationCount 屬性

定義

取得或設定使用 PBKDF2 雜湊密碼時所使用的反復專案數目。 預設值為 100,000。

public:
 property int IterationCount { int get(); void set(int value); };
public int IterationCount { get; set; }
member this.IterationCount : int with get, set
Public Property IterationCount As Integer

屬性值

使用 PBKDF2 雜湊密碼時所使用的反復專案數目。

備註

只有在相容性模式設定為 'V3' 時,才會使用此值。 其值必須為正整數。

適用於