Data encryption in Axapta

oracleoracle Member Posts: 6
edited 2005-02-03 in Dynamics AX
Hi, i would appreciate it if there's anyone can tell me whether i can do data encryption in Axapta. I've heard from my ex-colleague that there's a function inside Axapta which can do data encryption, is that true?

Thanks in advance.

Comments

  • slawkoslawko Member Posts: 6
    hi
    You can set this up by means of AOS (Axapta Object Server). In the properties of AOS it is possible to choose between options:
    1. None
    2. 128-bit key
    3. Encryption using a specified key

    the encryption is in the direction: AOS -> client

    Slawek
  • oracleoracle Member Posts: 6
    Hi slawko,

    Thanks for you reply. Is there anyway to encrypt the data using x++ codes in the application itself?
  • kram1976kram1976 Member Posts: 19
    Hi,

    I can give you some hints which might be helpful to you.

    TextBuffer txtBuff = new TextBuffer();

    txtBuff.insert('Testing for encryption',1);
    txtBuff.encrypt(1010);
    txtBuff.toFile('c:\\test.txt');

    txtBuff.fromFile('c:\\test.txt');
    txtBuff.decrypt(1010);
    info(txtBuff.getText());

    Go in detail in TextBuffer Class which might solve your problem.

    Bye.

    Ramki.
    Ramakrishnan
Sign In or Register to comment.