Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: AES LockBox with bytes array


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
Adam Adam

Posts: 1
Registered: 5/6/16
AES LockBox with bytes array  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 8, 2016 3:03 AM
0
down vote
favorite

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 51 80 10 36 43 E9 9A

Also chipher data needs to be placed in bytes array.

I've found some examples with string encoding, but have no idea how do this with the binary data.

Can I use EncryptMemory or EncryptStream for this ?

Any examples will be appreciated ,thanks.

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02