lockbox-3

Lockbox 3 AES 128 Encrypt PLSQL dbms_crypto Decrypt

牧云@^-^@ 提交于 2019-12-08 09:14:37
问题 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 3 Delphi RAD Studio Tokyo 10.2 //uses uTPLb_Constants,uTPLb_BaseNonVisualComponent, uTPLb_Codec, uTPLb_CryptographicLibrary, IdHashMessageDigest, idHash var cipher64, CipherText : string; plainText: utf8string; keyText: utf8string; FLibrary:

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

不羁的心 提交于 2019-12-08 03:17:04
问题 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 everything I have tried I have all of the information matching, the key, the iv etc), but I still get an error or junk data when attempting to decrypt. I am assuming that there is something I am missing with TPLB 3 setup/config to get it to

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

巧了我就是萌 提交于 2019-12-06 16:18:32
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 everything I have tried I have all of the information matching, the key, the iv etc), but I still get an error or junk data when attempting to decrypt. I am assuming that there is something I am missing with TPLB 3 setup/config to get it to decrypt properly, but I can't for the life of me figure it out. Any help is much appreciated. Delphi

PHP implementing Ciphertext Stealing (CTS) with CBC

核能气质少年 提交于 2019-12-05 19:55:40
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 confused and stuck on the last and simplest step of XOR. I know this is silly but having tried all the combinations, i don't know what am i missing. Code follows. // 1. Decrypt the second to last ciphertext block, using zeros as IV. $second_to_last_cipher_block = substr($cipher_text, strlen($cipher_text) - 32, 16); $second_to_last_plain = @mcrypt_decrypt

Is there a version of LockBox for Delphi-XE

落花浮王杯 提交于 2019-12-05 02:16:46
问题 where can I find a version of LockBox for Delphi-XE 回答1: You can make it work. It is not that hard. Download from SVN. I'll refer to the base directory as tplockbox . Go to the tplockbox/trunc/packages directory. Copy the d2010 directory contents to a new directory named XE . Rename TP_LockBox_d2010.grouproj to TP_LockBox_XE.groupproj Open it, right click TP_LockBox3_d2010.bpl , go to Options, change "LIB suffix" from the Description section to _XE . Do the same for the dclTP_LockBox3_d2010

Lockbox digital signature component problem

夙愿已清 提交于 2019-12-04 10:30:34
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 it's a problem with this library. Changing even one character has a crucial effect. Do I need to create a larger key? UPDATE To test the library I used the demo application that comes with it. I have generated a 1024 RSA key pair and then tried the digital signing functions. First I've tried with a real 260 bit text file and found out that I can

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

百般思念 提交于 2019-12-04 05:30:27
问题 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. 回答1: The method and property names pretty much say it all. Here is a method which encrypts a string and then decrypts it back again, assuming you've setup the codec properties at design time, which are also self-describing. procedure TForm1

Is there a version of LockBox for Delphi-XE

最后都变了- 提交于 2019-12-03 17:30:00
where can I find a version of LockBox for Delphi-XE You can make it work. It is not that hard. Download from SVN. I'll refer to the base directory as tplockbox . Go to the tplockbox/trunc/packages directory. Copy the d2010 directory contents to a new directory named XE . Rename TP_LockBox_d2010.grouproj to TP_LockBox_XE.groupproj Open it, right click TP_LockBox3_d2010.bpl , go to Options, change "LIB suffix" from the Description section to _XE . Do the same for the dclTP_LockBox3_d2010.bpl project Adjust output paths and directories for all projects. I don't remember if I just went ahead and

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

不问归期 提交于 2019-12-02 06:12:05
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. The method and property names pretty much say it all. Here is a method which encrypts a string and then decrypts it back again, assuming you've setup the codec properties at design time, which are also self-describing. procedure TForm1.actEncryptStringExecute( Sender: TObject ); var Plaintext, sReconstructedPlaintext: string; base64Ciphertext: ansistring; begin

Delphi XE2 TurboPower component status

我的未来我决定 提交于 2019-12-01 03:07:43
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 compatibility for each of the components. TurboPower Abbrevia, AsyncPro, and LockBox as the main ones. Compatibility includes platform support: XE2 Win32, Win64, Mac OS X. (I doubt that Async Pro would ever go Mac OS X, but perhaps XE2 Win32 at least.) Abbrevia v5.0 supports XE2. Win64 is fully supported, OS X supports everything except the zipx