I have used CyptoApi for encryption of passwords in AX 2012. The same thing when I tried to implement in AX 7 returns me a null object. I am using the following code in AX 7.
cryptoAPI = new CryptoAPI(0);
The control comes to this throw error statement indicating that the cryptoAPI object is null.
Can you please tell me why is that so? How can I encrypt password in AX 7?