Is there a way to get the Microsoft Cryptography API: Next Generation to work on Windows XP?
I'm afraid not. CNG is available on Windows Vista+ only. KSP is not the only dependency that CNG has. There are several other functionalities for which it requires the underlying OS to be Vista+.