Hi james, Ax3.0 use the Dictionary.buildPassword to encrypt the user password. However the class has no decrytion method :D ..... if you're planning to use it to encrypt your customer credit card number the problem you'll face is once you encrpyt the numbers you can't decrypt them to their original value....
Regards, Kris --- In Axapta-Knowledge-Village@yahoogroups.com, "James Flavell" <[EMAIL PROTECTED]> wrote: > > Thanks for that it is part of just what I need :) > > The other part I am just wondering is there some standard level this encrypt > function can be labeled as? I guess the more complex and long the key the > better the encryption? > > I am no encryption expert but they have various encryption methods/standards > out there and I need to put Axapta's one into some perspective for the > customer to feel comfortable they have meet their external audit > requirement. Does anyone know how many bits encryption it does? Or is that > just up to me by making the key longer? > > Thanks > James > > -----Original Message----- > From: Axapta-Knowledge-Village@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Sumit Loya > Sent: 11 June 2007 23:50 > To: Axapta-Knowledge-Village@yahoogroups.com > Subject: Re: [Axapta-Knowledge-Village] Encryption used by Ax3.0? > > Hi James, > There is one basic encryption-decryption technique available in AX using > text buffer. Here is a sample example. > > > TextBuffer textBuffer = new TextBuffer(); > ; > > textBuffer.setText(_text); > textBuffer.encrypt(987654123); // Basic encryption > > To decrypt a string, use the following code: > > TextBuffer textBuffer = new TextBuffer(); > ; > > textBuffer.setText(_text); > textBuffer.decrypt(987654123); > decryptedString = textBuffer.getText(); > > Hope this is of some help to you. > Regards, > Sumit > http://sumit-theaxfactor.spaces.live.com/ > > > On 6/12/07, James Flavell <[EMAIL PROTECTED]> wrote: > > > > Can anyone tell me what standard Axapta uses for encryption method? > > > > We are storing some credit card numbers in a modification and wish to > > encrypt it but I am not sure what the standard functions in Ax3.0 use (e.g > > . > > user password encryption) and hence whether it is good enough for what is > > required by the customer. > > > > Also are there any other tools that provide better security of data within > > fields? > > > > Thanks > > > > James > > > > [Non-text portions of this message have been removed] > > > > > > > > > [Non-text portions of this message have been removed] > > > > Sharing the knowledge on Axapta. > Visit www.frappr.com/axapta for axapta friends. > > Come and choose your preferred name for Microsoft Dynamics AX on the Axapta > Knowledge Village, Visit www.axapta-knowledge-village.tk > > > Yahoo! Groups Links >