Rajesh Karunakaran
Programmer
Hi Team!
I am trying to encrypt a password using VfpEncryption71 library.
Encryption type We need AES256.
Below is sample of what I am doing.
Then I get an encrypted key like below
But, the client documentation shows encrypted sample like
Whatever I try, I am not getting an encryption like the above.
How do we achieve that?
Thanks in advance
Rajesh
I am trying to encrypt a password using VfpEncryption71 library.
Encryption type We need AES256.
Below is sample of what I am doing.
Code:
lcStr = 'mykey123456'
lcKey = 'BeY7nZ1HL5Sdl0POADQACw=='
Encrypt(lcStr, lcKey, 2, 1, 0, 24, 16)
* 2= Type AES256, 1= Mode ECB, 0=Padd null
* 24= length of key being used
* 16= Block size
Code:
O4¨n)Ks³â÷„
But, the client documentation shows encrypted sample like
Code:
biXhp3Ha1fgxVEp48zHrvVoXMStmxPuAPHo3TVz5lHU=
Whatever I try, I am not getting an encryption like the above.
How do we achieve that?
Thanks in advance
Rajesh