Verbesserung login speed und sicherheit durch randomisierung der iterationssschritte
This commit is contained in:
@@ -893,7 +893,7 @@ Partial Class ForgotPW
|
||||
Dim tokentest As String = Await genToken(username, Passw, email, CustomerID, True, True, True, False, TheusrID)
|
||||
Dim hashtoken As Byte()
|
||||
Dim iterationnumb As Integer = VERAG_VARIABLES.getiterationnumber
|
||||
Dim intzahl1 As Integer = VERAG_VARIABLES.RandomInteger(Math.Pow(2, 6), Math.Pow(2, 10))
|
||||
Dim intzahl1 As Integer = VERAG_VARIABLES.RandomInteger(95, Math.Pow(2, 10))
|
||||
'MsgBox(salttoken)
|
||||
If Session.Item("TokenforEmail") = Nothing Then
|
||||
tokentest = Await genToken(username, Passw, email, CustomerID, True, True, True, False, TheusrID)
|
||||
|
||||
Reference in New Issue
Block a user