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
0
votes
0 answers

Converting C# AES-256 Encryption/Decryption to Delphi

I'm trying to rewrite this old code from C# to delphi 10.3 (using library lockbox 3.7). The output crypto are used for PHP script handling the DB running on the remote server, that PHP I cannot edit. internal static string…
0
votes
0 answers

I'm not able to handle lockbox encrypted data after migrating existing data

I need to encrypt emails from existing users on a base. I created a new email_ciphertext column to my User database. I updated the User model to has_encrypted :email, migrating: true. I performed the migration with Lockbox.migrate(User). So far,…
Desiree Fraga
  • 33
  • 1
  • 3
0
votes
0 answers

Delphi 11.1 vs Delphi XE5 data type differences - Lockbox

I'm converting a Delphi XE5 app to Delphi 11.1 and having issues getting the same encrypted strings using the same version of Lockbox on each. EncryptSymStr() calls TCodec.EncryptString(), which calls TSimpleCodec.EncryptString(), which then calls…
0
votes
0 answers

Lockbox 3 - Difference in Delphi XE5 and Delphi 11.1

I have an old application written in Delphi XE5 using Lockbox 3. I'm upgrading the application to Delphi 11.1. Using the same Lockbox 3 source in Delphi 11.1, when sending the same string (in 11.1 and XE5) into DecryptSymStr, I get totally…
0
votes
0 answers

Delphi, Lockbox3, calculate md5 throws 'Integer overflow' exception

I use lockbox3 for years, util now with delphi xe7. Now I'm migrating to Alexandria and facing the problem. With XE7 I used version 3.4 (or so - I cannot find version number in sources). With Alexandria I use whatever comes from Getit package…
0
votes
0 answers

Saving Delphi LockBox 3 generated RSA keys to file - incomprehensible content. How to get readable strings?

As I understand, then public and private key files generated by e.g. https://travistidwell.com/jsencrypt/demo/ is the standard format for RSA keys. I am trying to generate just the same format keys with Turbo LockBox 3. I am generating keys…
TomR
  • 2,696
  • 6
  • 34
  • 87
0
votes
1 answer

Rails - Encrypted Data Storage with Raw SQL Queries

I have users table and redemptions Table. So for security reasons we have encrypted our users table email and mobile column. User Table columns before encryption: id | mobile | email | name | User Table columns after encryption: id | name |…
Suganya Selvarajan
  • 962
  • 1
  • 11
  • 33
0
votes
0 answers

Extract contents from p7m file with TurboPower LickBox

I need to extract content from p7m files with Delphi 2010. I wil try by TP Lockbox but I not find any instructions to how to do.
Luigi
  • 1
  • 1
0
votes
1 answer

Lockbox 3 AES 128 Encrypt PLSQL dbms_crypto Decrypt

I am having trouble getting the same encrypted values returned between Delphi and Oracle any assistance would be greatly appreciated. It could possibly be the padding that might be causing the difference, unfortunately I am not sure. Lockbox…
Faadiel
  • 15
  • 4
0
votes
1 answer

Which version of LockBox3 works under Delphi2010?

As I am looking for AES-128 encryption, I'd like to get Lockbox3 running on Delphi2010. The first problem here: What/where are the official sources? The sources from https://sourceforge.net/projects/tplockbox/ don't hold packages for Delphi2010 and…
ralfiii
  • 584
  • 4
  • 13
0
votes
1 answer

Delphi/PHP LockBox Encryption AES ECB

There are a few variations of this question around but i haven't been able to pin the problem down. Trying to encrypt/unencrypt in PHP and Delphi I assume I have missed some setting in Delphi and its to do with UTF-8 using http://aesencryption.net/…
Dangas56
  • 849
  • 1
  • 8
  • 32
0
votes
1 answer

LockBox3 DecryptStream can't create plain stream

When I try to encode some binary data everything works fine: void __fastcall TForm1::EncryptBtnClick(TObject *Sender) { char plainchar[16]={0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F}; char…
Sebastor
  • 11
  • 2
0
votes
1 answer

How to generate RSA keypair with LockBox

I would like to generate RSA keyPair using delphi and LockBox3 library , actually I know how to do it using either a TSignatory or TCodec , but the pairing device that I comunicate with accept only X509 Spec where the generated key by lockbox is…
deadc0der7
  • 301
  • 5
  • 17
0
votes
1 answer

LockBox / Node Crypto compatibility

I'm trying (and failing) to decipher in Delphi usung LockBox 3 a message that was encrypted using Node.js' crypto library. node.js code: var crypto = require('crypto'); var cipher = crypto.createCipher('aes-256-ctr', 'my password'); var crypted =…
Z .
  • 12,657
  • 1
  • 31
  • 56
0
votes
1 answer

Invoking LockBox3 routines at run time

I have downloaded and installed TurboPack LockBox3 from GitHub into RAD Studio XE6. If I place the necessary components on a form then all works correctly. However, I need to be able to invoke my encryption routines at run time, so for test…