Đã hoàn thành

Call some "Encrption" method inside win32 DLL from VB.Net

- We have a 3rd party win32 DLL

- DLL contains an ENCRYPT function

- ENCRYPT takes 2 input parameters and 1 output parameter

- 2 input parameters: password to encrypt, seed to use for encryption

- 1 out parameter: encrypted password

- Sample Seed (8 bytes Hex representation): 4C6C6004B6403C08

- Sample Password (8 bytes Hex representation): 0000000000000000

- Sample Encrypted Password (Desired output, 8 bytes hex representation): B41060941A8A96CE

We need sample VB.Net code, that uses this DLL, calls ENCRYPT metod using 2-3 sets of password and seed parameters we will provide and is able to return corresponding encrypted passwords. We will also provide corresponding encrypted passwords that should be obtained for verification of success.

Original instructions regarding the use of this DLL and ENCRYPT method are provided below:

32-Bit Version of the Encryption DLL & Extra Information on How to use it

1) The [url removed, login to view] file used to statically link in with the DLL, otherwise the DLL can be loaded using LoadLibrary().

2) The [url removed, login to view] file contains the encryption code.

3) The ENCRYPTDLL.H file also supplied is a C/C++ header file for the library.

The prototype for the function is as follows:

int pascal Encrypt(const char* Password, const char* Seed, char* EncryptedPassword);

Each of the parameters must adhere to the following

Password is a pointer to the password as entered by the user (must be 8 ASCII characters).

Seed is a pointer to the seed returned by the meter (16 characters in the set {'0' - '9', 'A' - 'F'}).

EncryptedPassword is the output result of the encryption in the correct form for sending to the meter (16 characters in the set {'0' - '9', 'A' - 'F'} + terminating NULL character). This should be a pointer to a 17 character buffer.

Note: that it is not necessary for the input values to be NULL terminated, and the output value (EncryptedPassword) will always be NULL terminated.

The return value is TRUE (non-zero) on success and zero on failure, although in this version all variations of password and seed are valid input, therefore the function will always return TRUE.

Kĩ năng: .NET, Lập trình C, Lập trình C++, Kiến trúc phần mềm

Xem nhiều hơn: const char password const char seed char encryptedpassword, win32 encrypted dll, encryption dll net, win32 programming, vb note, use of vb net, use in vb.net, programming method, programming instructions, pointer programming, original programming, method programming, library prototype, how to use vb net, how to use in vb.net, how to code vb.net, how to code in vb net, hex programming, c programming pointer, c programming char, char in c programming, char c programming, bit representation, 16 bit representation, encrypt buffer function win32 dll

Về Bên Thuê:
( 2 nhận xét ) Maltepe, Turkey

ID dự án: #1025785

Được trao cho:


Please check PMB

$30 USD trong 1 ngày
(56 Đánh Giá)

4 freelancer đang chào giá trung bình $30 cho công việc này


Easy project with me!

$30 USD trong 1 ngày
(46 Nhận xét)

Please check your pmb.

$30 USD trong 0 ngày
(30 Nhận xét)

Hello Please check PMB. Thanks Sabi

$30 USD trong 1 ngày
(0 Nhận xét)