Questions tagged [lockbox-3]

TurboPower LockBox 3 is a native-code open source cryptographic library written in Delphi.

The current target platform is Win32. The home page is at http://lockbox.seanbdurkin.id.au/ and the sourceforge page is at https://sourceforge.net/projects/tplockbox/

76 questions
11
votes
1 answer

Delphi XE2 TurboPower component status

The TurboPower components were among the most popular commercial component libraries and are still used by many Delphi developers as they went open source. Instead of asking individually, I thought I'd ask a single question as to the state of XE2…
Darian Miller
  • 7,808
  • 3
  • 43
  • 62
7
votes
3 answers

Migrating encrypted database fields when upgrading to Rails 7

Issue I had to upgrade my RoR app to Rails 7 due to this issue. When making this upgrade, my db columns which were being encrypted with the Lockbox gem were no longer able to be read as Rails was using the native decryption to try and decrypt the…
CWarrington
  • 659
  • 5
  • 12
5
votes
2 answers

Secure keypair encryption solution in Delphi & PHP?

My application sends encrypted files over the internet, I need to be able to do the following: (Client side Delphi 2010): Encrypt files using public key shipped with my application & upload it to server (Server side PHP): Decrypt the uploaded file…
TheDude
  • 3,045
  • 4
  • 46
  • 95
4
votes
5 answers

How to AES-128 encrypt a string using a password in Delphi and decrypt in C#?

I'd like to AES-128 encrypt a string in Delphi with a password. I'd like to upload this to my server and be able to decrypt given the same password in C#. In Delphi, I'm using TurboPower LockBox 3: function EncryptText_AES_128(input: string;…
Troy
  • 1,237
  • 2
  • 13
  • 27
4
votes
2 answers

Lockbox digital signature component problem

I'm evaluating TurboPower LockBox library for digital signing. I've created a 1024 bit RSA key and tried to sign a 260 bytes of text with it. After changing one or two characters in the text the signature is still valid for it. Is that ok? Or maybe…
Max
  • 19,654
  • 13
  • 84
  • 122
4
votes
1 answer

Lockbox3 encryptstring : same string gives different encrypted result

I try lockbox3 with Delphi XE10. I want to encrypt a user's input string and compare it with a value for verification. but every time the same input string gives different encrypted result. What is my fault, please ? here the sample code that gives…
JimPapas
  • 715
  • 2
  • 12
  • 27
3
votes
2 answers

How to use AES-256 encryption in lockbox 3 using delphi

I've downloaded Lockbox3 about a week ago and i can't use it, and i couldn't understand the demo because it's complex i couldn't get the codes i want from it, I'd like to use lockbox 3 AES-256 encryption to encrypt strings in Delphi.
kero
  • 63
  • 1
  • 1
  • 4
3
votes
2 answers

LockBox 3 encrypt RSA with public certyficate

In Delphi 10.4 I am trying to encrypt string with RSA, using public key from certificate (*.cer). The problem is that, I do not know, how to pass this certificate to RSA function. I have feelings, that LockBox 3 have his own format to store public…
InnerWorld
  • 585
  • 7
  • 26
3
votes
4 answers

Is there a version of LockBox for Delphi-XE

where can I find a version of LockBox for Delphi-XE
Charles Faiga
  • 11,665
  • 25
  • 102
  • 139
3
votes
1 answer

Encrypt String with 3DES usingDelphi 10.1 Berlin

I need to encrypt an 10-byte string in Delphi using 3DES. It must get the same result than this PHP code: function encrypt_3DES($message, $key){ $bytes = array(0,0,0,0,0,0,0,0); $iv = implode(array_map("chr", $bytes)); $ciphertext =…
Marc Guillot
  • 6,090
  • 1
  • 15
  • 42
3
votes
3 answers

How do I install LockBox 3 into Delphi 7?

This is my first time installing the libraries for Lockbox. I downloaded version 3.4.3 from sourceforge and have Delphi 7. The first step is to get this sucker to compile under Delphi 7 and it's been hell. I do hope that the components are easier…
Debbie
  • 125
  • 1
  • 1
  • 6
3
votes
1 answer

TPLockBox3 and PHP - AES Encrypt in Delphi, Decrypt in PHP

I have a trouble with lockbox3 and PHP mcrypt. I can't pass IV to PHP. Delphi code: var Codec: TCodec; CL: TCryptographicLibrary; PlainStream: TStringStream; CipherStream: TMemoryStream; begin PlainStream :=…
Maxim
  • 1,209
  • 15
  • 28
3
votes
2 answers

PHP implementing Ciphertext Stealing (CTS) with CBC

I have been trying to implement Ciphertext Stealing(CTS) in PHP for CBC. Referring below two links How can I encrypt/decrypt data using AES CBC+CTS (ciphertext stealing) mode in PHP? and http://en.wikipedia.org/wiki/Ciphertext_stealing I am…
Madhur
  • 2,119
  • 1
  • 24
  • 31
2
votes
1 answer

Problem with TRandomStream - Delphi TurboPower LockBox 3

I am using TurboPower LockBox 3 (http://sourceforge.net/projects/tplockbox/ and http://lockbox.seanbdurkin.id.au/tiki-index.php) I have a problem with the TRandomStream. I'm trying to generate a chunk of 32 byte random data, but the output does not…
mas
  • 1,146
  • 6
  • 17
  • 33
2
votes
1 answer

Converting TurboPower Lockbox 2 to LockBox 3

I am currently in the process of converting a project (that uses encryption) from Delphi 6 to XE. This project uses the old Delphi Encryption Compendium which does not work in XE. So I figured that I would swap from that component set to LockBox.…
samanne
  • 309
  • 1
  • 3
  • 8
1
2 3 4 5 6