Änderungen Sicherheitsaspekte Passworthashingiterationen sowie Speicherplatznutzung zur Hashdechiffrierung und Anpassung der LKWs-Seite.

This commit is contained in:
ja
2022-01-11 11:58:54 +01:00
parent 3f7b85ac2b
commit 2199fc877c
8 changed files with 1430 additions and 1184 deletions

View File

@@ -6,7 +6,11 @@ Imports System.Threading.Tasks
Public Class VERAG_VARIABLES
Public Shared errornumb As Integer = 0
Shared Function getiterationnumber() As Integer
Return RandomInteger(Math.Pow(2, 5), Math.Pow(2, 10))
If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then
Return RandomInteger(Math.Pow(2, 7), Math.Pow(2, 10))
Else
Return RandomInteger(Math.Pow(2, 9), Math.Pow(2, 18))
End If
End Function
Shared Sub initerrorcount()