Recent

Author Topic: OpenSSL Encrypt and Decrypt with DLL?  (Read 1243 times)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
OpenSSL Encrypt and Decrypt with DLL?
« on: January 17, 2020, 05:17:22 pm »
Hi, in this article is everything I need to encrypt a JSON file in the server and decrypt the same file with a Lazarus Application:

https://raymii.org/s/tutorials/Encrypt_and_decrypt_files_to_public_keys_via_the_OpenSSL_Command_Line.html

The problem is that they're using the OpenSSL command line, and I want to use the DLL, there is a mapping of these commands to decrypt a previously encrypted file with lazarus?

Thanks.

Thaddy

  • Hero Member
  • *****
  • Posts: 14214
  • Probably until I exterminate Putin.
Re: OpenSSL Encrypt and Decrypt with DLL?
« Reply #1 on: January 17, 2020, 05:21:26 pm »
Yes. (You are probably now asking for an example: tomorrow)
Specialize a type, not a var.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: OpenSSL Encrypt and Decrypt with DLL?
« Reply #2 on: January 17, 2020, 05:24:26 pm »
Yes. (You are probably now asking for an example: tomorrow)

Thanks. I'm waiting for it, tomorrow I work as well so I'm really waiting.  :)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: OpenSSL Encrypt and Decrypt with DLL?
« Reply #3 on: January 19, 2020, 01:08:33 am »
Hi DLL, please decrypt this for me,  :)

 

TinyPortal © 2005-2018