craigsboyd
IS-IT--Management
Well, not remembering exactly why I had been staying away from it, I decided to try using the RSA encryption/decryption available via the _cryptapi foundation class.
It's turned out to be completely unsuitable for distributed applications. On one computer it works, on another it doesn't, on some computers it will work and not work depending on the direction of the wind. Causes (according to my findings, MS Knowledgebase, and various pages on the net) can range from a corrupted RSA container to a co-opted CSP to user permissions to probably just about anything under the sun.
I now remember why I decided not to use it some years ago. Has anyone ever used this class or the API calls it contains for encrypting and decrypting strings with any level of success on an application that runs on more than a couple computers (sometimes you can get lucky and it works on more than just the development machine)?
I've ripped it out of the application I was putting it into. MS appears to know that the problem exists, but other than suggesting a game or two of battleship with it they don't provide a reliable workaround. My suggestion for now to myself and others is not to use it. That's too bad, whoever created that class really decked it out, I would have liked to use it.
It's turned out to be completely unsuitable for distributed applications. On one computer it works, on another it doesn't, on some computers it will work and not work depending on the direction of the wind. Causes (according to my findings, MS Knowledgebase, and various pages on the net) can range from a corrupted RSA container to a co-opted CSP to user permissions to probably just about anything under the sun.
I now remember why I decided not to use it some years ago. Has anyone ever used this class or the API calls it contains for encrypting and decrypting strings with any level of success on an application that runs on more than a couple computers (sometimes you can get lucky and it works on more than just the development machine)?
I've ripped it out of the application I was putting it into. MS appears to know that the problem exists, but other than suggesting a game or two of battleship with it they don't provide a reliable workaround. My suggestion for now to myself and others is not to use it. That's too bad, whoever created that class really decked it out, I would have liked to use it.