dotnet / dotnet/dotnet-api-docs

Default iteration count should be mentioned for the constructor that is missing it.

Open
#1,614 0 comments 0 reactions 0 assignees View on GitHub
area-System.Security dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

Currently programmers need to read the example code to find out that the default iteration count is 1000 (i.e. way too low for 2019). Defaults like these that should change in time - like the PBKDF2 work factor - aren't a good idea anyway, but hiding them in example code is worse.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 6999edf5-a871-2297-c3a1-bceee0f51d82
* Version Independent ID: 9e628d64-3f80-8ad6-1295-bfe6fc109e8e
* Content: [Rfc2898DeriveBytes Constructor (System.Security.Cryptography)](https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.rfc2898derivebytes.-ctor?view=netframework-4.7.2#System_Security_Cryptography_Rfc2898DeriveBytes__ctor_System_String_System_Byte___)
* Content Source: [xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.