Forum: Programmieren allgemein
Delphi
by TurboMagic,
28. Jan 2024
Hello,
I copied your implementation now and renamed it.
We now have
function ValidAuthenticationHash(HashClass: TDECHashClass): TDECHashAuthenticationClass;
procedure SetDefaultAuthenticationHashClass
Best regards
Forum: Programmieren allgemein
Delphi
by TurboMagic,
28. Jan 2024
Ok, the attempt to create an IDECHashAUthentication interface and just add all public class methods
of TDECHashAUthentication to it failed, as the compiler doesn't like class methods in an interface.
How to proceed here?
Cheers
TurboMagic
Forum: Programmieren allgemein
Delphi
by TurboMagic,
28. Jan 2024
I try to understand what you propose to implement, but I'm not completely sure yet this fits the architecture.
1. You want to have an IDECHashAUthentication interface, containing all the public class methods of that one.
That's doable and I'll do that in a minute.
2. You want TDECHashClass to declare it implements this interface. In order to do this TDECHash would need to
implement...
Forum: Programmieren allgemein
Delphi
by TurboMagic,
27. Jan 2024
Ok, then I'll make a note somewhere to implement this.
Forum: Programmieren allgemein
Delphi
by TurboMagic,
26. Jan 2024
Nee, liegt nicht an der Delphi version. Ich habe bis vor kurzem noch hauptsächlich die 11.3 genutzt.
Ob ich die 12.0 nutze sag' ich nicht. Ätsch! ;-)
Forum: Programmieren allgemein
Delphi
by TurboMagic,
17. Jan 2024
Hallo,
möglicherweise hab' ich es gelöst:
Statt des Typcasts PassBytes := TDECHashAuthentication(...
muss es PassBytes := THash_SHA256(... sein.
Man merkt es schon am letzten Assert in der KDFx drin,
da DigestSize nur in einer konkreten Klasse vernünftig
funktionieren kann.
Forum: Programmieren allgemein
Delphi
by TurboMagic,
15. Jan 2024
Yes, that would be good to have!
Forum: Programmieren allgemein
Delphi
by TurboMagic,
15. Jan 2024
Hast du auch schon mal in den DOCS Unterordner geschaut?
Da ist eine Doku drin... ;-) Ich glaub' sogar einigermaßen umfangreich,
was für ein Open Source Projekt nicht unbedingt üblich ist... ;-)
Forum: Programmieren allgemein
Delphi
by TurboMagic,
15. Jan 2024
Muss ich mir mal anschauen, heute wird's aber eher nix, eher morgen.
Zuerst muss man die Units ändern, die sind ja umbenannt und teilweise weiter
unterteilt.