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
1 answer

Trying to determine which verison of BlowFish is used by TurboPower LockBox 2 and/or 3

Trying to determine which verison of BlowFish is used by TurboPower LockBox 2 and/or 3. Any ideas? I've done a bunch of reserach and just see "BLOWFISH" but no version.
0
votes
2 answers

Lockbox 3 load public key not possible - stream reading error

Well i generated a keypair with openssl openssl genrsa -des3 -out _private.pem 1024 openssl rsa -pubout -in _private.pem -out public.pem Public -----BEGIN PUBLIC…
Hidden
  • 3,598
  • 4
  • 34
  • 57
0
votes
1 answer

Installing LockBox 3 to Delphi 7

I am trying to install Lockbox 3.5 to Delphi 7. I have come to the point where it should compile, but I am having some trouble with TBytes. Delphi sees TBytes as an Undeclared identifier. I am a student in my first year and don't know exactly how…
maddog550
  • 35
  • 2
  • 11
0
votes
1 answer

Turbopower Lockbox3 - Can I control initialization vector and padding for AES-256 encryption? Request for encryption equivalent

Is there an equivalent encryption procedure for the given code below. The current implementation does not support encryption and throws a 'Feature not supported.' exception. The routine below successfully decrypted this cipher…
0
votes
1 answer

TurboPower Lockbox 3 remove salt

In the answers in this question I found a reply: TurboPower LockBox 3: AES128 and padding ISO 10126 (2) For most chaining modes, TPLB3 will automatically add salt. This is normally a good thing, but if you need it without, you can remove the option…
Chopin
  • 147
  • 6
0
votes
1 answer

TurboPower LockBox 3: AES128 and padding ISO 10126

I know this is a withdrawn standard. Nevertheless, the customer wants it (and we know who's always right). So, how do I do it? Ho can I choose ISO 10126 padding for an AES128 encryption? Edit: The LB version in use is 3.4.1 (I didn't have the…
Sherlock70
  • 564
  • 10
  • 24
0
votes
0 answers

Meaning of error TSimpleCodec.Begin_EncryptMemory - Wrong mode

I am using Delphi XE6 and LockBox 3.4.3 to run the code actEncryptStringExecute. This code was posted as an answer to the question 'How to use AES-256 encryption in lockbox 3 using delphi'. The error I get is TSimpleCodec.Begin_EncryptMemory - Wrong…
0
votes
1 answer

Load a Lockbox 2 public key into Lockbox 3

I'm trying to convert some code from LB2 to LB3 and have hit a bit of a wall. I have a very basic 256-bit RSA public key which I use with LB2 but can't seem to load into LB3. The key is basically just a block of 41 bytes which I can load by simply…
0
votes
1 answer

Using LockBox3 with Delphi XE4 without installation

I'm porting program from Delphi 2009 to XE4 and got problem with LockBox encryption. Encrypt/decrypt unit is using just one component: interface function Encrypt(aStr: String): String; function Decrypt(aStr: String): String; …
vico
  • 17,051
  • 45
  • 159
  • 315
0
votes
1 answer

How to always get an identical result with identical settings when encrypting a string?

In Delphi XE2, with Turbopower Lockbox-3, I use the following code to encrypt a string: Codec1.EncryptString('AText', Encrypted); Cipher is [AES-192], ChainMode is PCBC. However, this produces a different result each time I encrypt the same…
user1580348
  • 5,721
  • 4
  • 43
  • 105
0
votes
1 answer

DCPCrypt to Lockbox3 migration

I'm a newbie on encrypting/decrypting routines. I'm trying to use Lockbox3, which I want migrate my app to, in order to decrypt a string encrypted by using DCPCrypt. Let's say I have this function to encrypt: function TfrmMain.Encrypt(value:…
Marco
  • 86
  • 1
  • 7
0
votes
2 answers

TSimpleCodec.Begin_EncryptMemory - Wrong mode

I get TSimpleCodec.Begin_EncryptMemory - Wrong mode exception wile executing the following code. Is it something wrong? FLibrary := TCryptographicLibrary.Create(Self); FCodec := TCodec.Create(Self); FCodec.CryptoLibrary :=…
EchoRo
  • 119
  • 1
  • 11
-1
votes
2 answers

Delphi Firemonkey LockBox3 AES-CBC, PC and Android result are different?

I need a AES library for devolop Firemonkey Moblie App. I tested ElAES and LockBox3, everything works fine complie to PC, But on FMX Android both library return wrong ciphertext. Test Data (AES128CBC PKCS5Padding): plainText: 'plainText' -…
86153
  • 1
-1
votes
1 answer

LockBox 3 - Components not working with VCL in Delphi XE8

I have just downloaded and installed LockBox 3 in my Delphi XE8. But: The VCL Tool-Palette does not show the components. When I switch to a Firemonkey form I can see both, the VCL and Firemonkey Groups. In a VCL form I can see neither. After:…
wHiZZaRt
  • 1
  • 3
-1
votes
1 answer

What happened to UTF8Password in LockBox 3's TCodec?

I have been following the Delphi code in TPLockBox3 and PHP - AES Encrypt in Delphi, Decrypt in PHP, but I cannot implement Sean's: "codecAES.UTF8Password := edtPassword.Text;" within his actEncryptExecute procedure as this class does not have this…