Показать сообщение отдельно
Старый 15.08.2007, 13:00   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
Malaysia: Encryption and Decryption in AX
Источник: http://axmas.blogspot.com/2007/08/en...ion-in-ax.html
==============

Encryption and Decryption in Axapta

TextBuffer textBuffer = new TextBuffer();
;

textBuffer.setText(_text);
textBuffer.encrypt(987654123); // Basic encryption

To decrypt the string again, use the following code:
TextBuffer textBuffer = new TextBuffer();
;

textBuffer.setText(_text);
textBuffer.decrypt(987654123);
decryptedString = textBuffer.getText();

Источник: http://axmas.blogspot.com/2007/08/en...ion-in-ax.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.