challenge.cs
go-csharp-python-traps.md
C#
Authentication & cryptography
Difficulty 2/3
1
public
class
ResetService
2
{
3
public
string
CreateResetCode()
4
{
5
var
rng =
new
Random();
6
return
rng.Next(
100000
,
999999
).ToString();
7
}
8
}