Hi everyone.
In Ax 3.0, I used Textbuffer to encrypt and decrypt. However in Ax 4.0,
this feature is removed, and as far as I can understand, replaced by
CryptoAPI. CryptoAPI is used by class\WebSession. The problem is can't
use it myself.
Testjob:
CryptoAPI crypto;
str s;
container data;
ContainerClass blob;
;
s = 'This text will be encrypted';
blob = new ContainerClass([s]);
crypto = new CryptoAPI(1234567890);
data = crypto.encrypt(blob.toBlob());
info('Decrypted: '+ any2str([crypto.decrypt(data)]));
Unfortunately this doesn't work. I get the error "CryptoAPI not
available".
Please help! I really need some encryption ASAP J
Best regards,
Morten Aasheim
Peritus
[Non-text portions of this message have been removed]