Jump to content

Soji

Members
  • Content Count

    32
  • Joined

  • Last visited

Community Reputation

1 Neutral
  1. Thanks for all the inputs. CryptoLib4Pascal worked for me.
  2. @Kas Ob.: I spotted the same. Thanks for pointing it out. Yes. You have to use another package HashLib4Pascal from same authors. I use that package for PKDF2.
  3. Hi, I am looking for a Delphi AES encryption/decryption library to decrypt a text which is encrypted using power-shell script. Another application encrypts a text using power-shell and put it into a file. My Delphi application has to read the file and decrypt the string. This is the power-shell script to encrypt ( Powershell encrypt and decrypt ). I want to mimic the function fAESDecrypt() in Delphi. Anyone knows any libraries which can do this? If there is nothing out there which can do it, I am thinking about executing the power-shell from Delphi to decrypt it. I think that should be possible. Thanks in advance, Soji.
  4. Soji

    Delphi 10.4.1 upgrade

    Yes. That is right. I already "fixed" it. But it is really strange to say that I have to add "getit" right?
  5. I got an interesting message when I tried to upgrade my project from Delphi 10.3 to Delphi 10.4.1. It says I need to add "getit" package!. This is really a strange message. (There is no package named getit in my project group and I am sure I don't have any dependency to a package named getit.)
  6. It is a legacy application. Sustain mode. So looking for a quick solution.
  7. We use an config file to store the database connection string. We are thinking about encrypting the connection string. Is there any best practices to keep the connection string information safe?
  8. Yes. I was about to type the same. It is not same.
  9. I tried that comment. Did not work out well though 😒
  10. Thanks @Attila Kovacs. This is interesting. I will give a try. If I can make it work, then it avoids going through loop by loop and adding the peekmessage.
  11. Thanks for your response. Application.ProcessMessages is not a solution I am fond of. I wanted to avoid that and came into the peekmessage option. Yes. It is possible to move to thread. But it is a big overhaul and in sustain mode, it is not allowed to do that overhaul.
  12. I have a legacy Delphi app which was running fine on windows server 2008. When the server updated to 2012, the app starts to have a paint issue. There are some big tasks running on a modal form (In main thread). It is big for/while loops. When those tasks runs, the main form turns black and some cases, the border turns white. The correct solution to this is to run the task in threads or use parellel library. But that is a big overhaul and that is not possible to do. I was looking for some quick fix to handle it and I used the following code snippet and it worked: PeekMessage(Msg, 0, 0, 0, PM_NOREMOVE); I have to do this everywhere in the code where big bloat is there. Is there any other solutions available?
×