Fabio Mans

Fabio Mans

  • 1.7k
  • 30
  • 557

Create passwords using the birthday

Jan 29 2019 9:57 AM
Please, I need to create a C # algorithm that does not allow the client to create passwords using the birthday date.
Can you help me please?
Example: 10/16/1972
Can not be = Month / Day (MMDD). 1016
Can not be = Month / Month (MMMM). 1010
Can not be = Month / Year (MMAA). 1072
Can not be = Day / Day (DDDD). 1616
Can not be = Day / Month (DDMM). 1610
It can not be = Day / Year (DDAA). 1672
It can not be Year / Day (AADD).
ix. Year / Month (AAMM).
x. Year / Year (YYYY). Example: 7272

Answers (2)