Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7458517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T13:27:28+00:00 2026-05-29T13:27:28+00:00

I need to use a Delphi component to encrypt a file that can then

  • 0

I need to use a Delphi component to encrypt a file that can then be decrypted using a freely available utility. I’ve done some experimenting without success. Below I’ll list my requirements and what I’ve already attempted.

Requirements:

  • Free component with source, if possible.
  • Compatible with Delphi XE. As such, I’m only concerned about 32-bit support.
  • Must be able to decrypt the result with a utility that is freely available for Windows.

Here’s what I’ve tried:

  • LockBox 2, Rijndael 128-bit CBC
  • LockBox 3, AES 128-bit CBC
  • DCPCrypt2
  • Decrypting each of the above with OpenSSL.exe

Other variables:

  • I have not yet tried the Windows CryptoAPI. That is the next item on my list to attempt.
  • I would prefer to use AES, but that is not a strict requirement.
  • I would prefer not to use a private/public key pair. I would prefer the decryption to be possible using a password or passphrase.

I know SecureBlackBox components are highly regarded. If you know, from experience, that a SBB component can do what I’m looking for, then I’d love to know about it. It is an expensive option, but one we’ll consider if it’ll definitely work.

Please refrain from general recommendations to try a component that might work. I’m concurrently doing Google searches and attempting every viable option I can find. 🙂 I’d love to hear feedback from anyone that has experience doing what I’m attempting to do.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T13:27:29+00:00Added an answer on May 29, 2026 at 1:27 pm

    If your target is only Windows, why do not you just write this freely available utility?

    You’ll ensure that it meets the same exact algorithm that in your application.

    And you can add our Open Source unit to your list – I’ve just added CBC/ECB/CFB/OFB/CTR modes in AES 128, 192 or 256 bit – and PKCS7 padding pattern. And you have MD5, SHA1 or SHA256 fast functions to create your Key from a password.

    You have full source code, and it works from Delphi 5 up to XE2, is FAST, maintained and cross-platform.

    I use this unit for safe cypher between Delphi and C# code:

    • On the Delphi side, I use TAESCBC.EncryptPKCS7 / TAESCBC.DecryptPKCS7;
    • On the C# side, I use the official example available on MSDN, which uses the same exact encryption pattern.

    This is a proven and simple scheme.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a WYSIWYG editor Component that I can use in the Delphi application
Trying to use GnuPG with Delphi (Win32). I need to sign some file with
I'm using Delphi 7 and can't predict the target version of Windows. I need
I need to understand how to use the generic Delphi 2009 TObjectList . My
I need to compress multiple files into a single archive using Delphi. I'd prefer
I need Delphi code or component for accessing exchange/outlook contacts and appointments? I probably
I need to use a DLL file from qsBarcode http://www.qsbarcode.de/en/index.htm (here is the download
I need a SMALL/LIGHTWEIGHT DB control (maybe delivered as a single PAS file) that
Are there any good components, free or commercial, available for Delphi (I use Delphi
At the moment, whenever I need a custom dialog, however simple, I use Delphi's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.