From ead096abb5db8e4fe0961ae80ef116fcdb09b8c8 Mon Sep 17 00:00:00 2001 From: ja Date: Tue, 11 Jan 2022 16:56:54 +0100 Subject: [PATCH] Verbesserung LKW Methoden und AJAX Calls sowie Anpassungen der TestPerformance-Zeitoptimierungen --- App_Code/TestPerformance.vb | 2 + App_Code/VERAG_VARIABLES.vb | 4 +- Customers/LKWs.aspx | 100 +- Global.asax | 4 +- .../CodeAnalysisLog.xml | 2378 ++++++++--------- login/login_FLEX.aspx.vb | 6 +- 6 files changed, 1262 insertions(+), 1232 deletions(-) diff --git a/App_Code/TestPerformance.vb b/App_Code/TestPerformance.vb index 0e15980..d61fb75 100644 --- a/App_Code/TestPerformance.vb +++ b/App_Code/TestPerformance.vb @@ -193,6 +193,8 @@ Public Class TestPerformance sw2.Reset() Next + + For Each zp1 In arrzeitp1 If arrzeitp1(zp1) < arrzeitp2(zp1) Then arrzeitp3.Add(arrzeitp1.Item(zp1)) diff --git a/App_Code/VERAG_VARIABLES.vb b/App_Code/VERAG_VARIABLES.vb index 41b1085..b558458 100644 --- a/App_Code/VERAG_VARIABLES.vb +++ b/App_Code/VERAG_VARIABLES.vb @@ -51,6 +51,7 @@ Public Class VERAG_VARIABLES Argon.DegreeOfParallelism = 32 Argon.Iterations = nIterations * VERAG_VARIABLES.RandomInteger(2, 5) Argon.MemorySize = (((nIterations * 7.685 - (nIterations * 0.56) / 1.85 * 2.28) / 10.28) + 1.024 * 416) + Return Argon.GetBytes(nHash) End If @@ -69,11 +70,12 @@ Public Class VERAG_VARIABLES Else Dim Argon As Argon2id = New Argon2id(Encoding.UTF8.GetBytes(VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(password))) Argon.Salt = salt - Argon.DegreeOfParallelism = 32 + Argon.DegreeOfParallelism = 22 Argon.Iterations = nIterations * VERAG_VARIABLES.RandomInteger(2, 5) Argon.MemorySize = (((nIterations * 7.685 - (nIterations * 0.56) / 1.85 * 2.28) / 10.28) + 1.024 * 416) Return Await Argon.GetBytesAsync(nHash) End If + End Function Public Shared Function Verifyhash(ByVal passw As String, salt As Byte(), ByVal hash As Byte(), ByVal nIterations As Integer, ByVal nHash As Integer) As Boolean diff --git a/Customers/LKWs.aspx b/Customers/LKWs.aspx index 1b0e105..0283722 100644 --- a/Customers/LKWs.aspx +++ b/Customers/LKWs.aspx @@ -88,23 +88,19 @@ - +
+ + + +
- SDL - SDL - Bezeichnung - Bezeichnung - Gültig bis - Gültig bis - Kartennummer - Kartennummer
@@ -150,27 +146,19 @@ - +
+ + + +
- - SDL - SDL - - Bezeichnung - Bezeichnung - - Gültig bis - Gültig bis - - Kartennummer - Kartennummer
@@ -352,7 +340,43 @@ } -