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
1
vote
0 answers

Delphi LockBox3, Asymetric_Engine.createFromStream error

EDIT: because i couldn't get this code to work, i did an little workaround: now i call openssl console via ShellExecute (not much safe, but it works). Good morning all, i'm getting an headache to get this delphi code work: (included uTPLb_*…
Marco P
  • 61
  • 1
  • 5
1
vote
0 answers

Lockbox 3 - Delphi 7 - SHA-256

I am trying to use Lockbox 3.6.3 in Delphi 7. Specifically, I want to use the TSHA2 class. However, when I try to compile a Delphi 7 project that uses the TSHA2 class i get various compilation errors. The TPLB3.IntegerUtils unit generates errors in…
S Baldwin
  • 19
  • 2
1
vote
0 answers

C++builder AES LockBox with bytes array

I would like to encrypt in AES, some binary data using LockBox 3.5.0 library in C++Builder 10. I have key and binary data placed in bytes arrays. key(hex): E8 E9 EA EB ED EE EF F0 F2 F3 F4 F5 F7 F8 F9 FA plain data(hex): 01 4B AF 22 78 A6 9D 33 1D…
Sebastor
  • 11
  • 2
1
vote
1 answer

How to detect decryption failure using TurboPower Lockbox 3.5

How do you detect decryption failure? I have the following test code: procedure TForm1.Button1Click(Sender: TObject); var plainms, cipherms: TMemoryStream; tempstr: string; begin plainms := TMemoryStream.Create; cipherms :=…
Mike
  • 153
  • 3
  • 11
1
vote
1 answer

RSA to encrypt/decrypt between delphi(lockbox) and go1.5

When I use RSA to encrypt/decrypt the data,they are working good in delphi.But when I use them with other program, they seems not work. I use the golang 1.5 in server side,when I use EncryptOAEP/DecryptOAEP,EncryptPKCS1v15/DecryptPKCS1v15,these pair…
BugHunter
  • 11
  • 1
  • 2
1
vote
1 answer

Lockbox 3 - Reset when not initialized

i am using Windows 8 64-Bit, Delphi XE7 and so i started to do an own "demo" application to understand how does it work and i got also stucked when i try to decrypt the encrypted string from a memo. Keygeneration procedure…
Hidden
  • 3,598
  • 4
  • 34
  • 57
1
vote
1 answer

TPLB 3 OpenSSL Decrypt AES-256-CBC Encrypted with Ruby 2.0.0 OpenSSL::Cipher

I am sending down some information from a server that is using OpenSSL::Cipher to encrypt the data using AES-256-CBC. I am receiving the data in an application that is coded in Delphi XE8 and attempting to decrypt the data using TPLB 3 OpenSSL. From…
mwhobrey
  • 65
  • 1
  • 10
1
vote
1 answer

Base64_to_stream Turbo power Lockbox 3.6.2 Delphi Xe7 | E2010 Incompatible types: 'System.TArray' and 'string'

i am trying to make program to encrypt on delphi XE7 and Decrypt on PHP side i use Lock box 3.6.2 using AES 256 Encryption CBC mode . the Delphi XE7 Code : Main.pas unit Main; interface uses System.SysUtils, System.Types, System.UITypes,…
Jehad Ahmad Jaghoub
  • 1,225
  • 14
  • 22
1
vote
1 answer

trying to install lockbox 3 for Delphi 2010

I'm trying to download LockBox3 so I can encrypt some files. I tried through Sourceforge and ran into all sorts of compiling difficulty such as the ANSI problem in the String Utility, $ENDIF rather than $IFEND, and others. I then went to the…
1
vote
1 answer

Lockbox 3 for Android with XE7 not working

I just found that lockbox 3.6.0 should support Android. However when i look in my palette i see that the codec only supports win32 and win64. How can i make it work for my android apps also? Im using Delphi XE7 and have already followed the…
SweElite
  • 13
  • 4
1
vote
1 answer

Delphi Lockbox 3 DOES NOT load public key generated by OpenSSL

Trying to load RSA public key in Delphi by the use of Lockbox 3 I encounter this error: "(Error) Public key file corrupt, empty or the wrong type." I have generated a pair of public and private key by OpenSSL using the following commands: openssl…
saeed khalafinejad
  • 1,139
  • 9
  • 22
1
vote
0 answers

TurboPower LockBox 3 Unit Testing in Delphi XE2

I testing a class to manage Lockbox 3. I have the following pseudo mock: unit uMockTPWDDBManager; interface uses inifiles,classes,UITypes,uTPLb_Codec; type IPWDDBManager = interface ['{51C993FE-D96A-4419-AB80-00D65E16C6F8}'] end; …
pio pio
  • 732
  • 1
  • 7
  • 29
1
vote
1 answer

LockBox Stream read error, RSA

I'm loading a RSA key from a stream and getting an "Stream Read" error? What's the first thing I should try to get my code working?
N. McA.
  • 4,796
  • 4
  • 35
  • 60
1
vote
1 answer

TurboPower LockBox how can one use AES with a byte array as key

I want to encrypt a file but i have the key as a byte array. I do not want to use a password. Is it possible ?
EchoRo
  • 119
  • 1
  • 11
0
votes
0 answers

Comparing hash strings LockBox 3 on Delphi

I am trying to convert an old project which was originally done using TurboPower LockBox 3.7 on Delphi 10 to use TurboPack LockBox 3 2021.11 (from GetIt Package Manager) on Delphi 11. My orginal code was: Hash1.HashString(edit1.Text); if…