Use the EncryptPassword connection property for encrypting passwords on Microsoft Windows.
You can use the EncryptPassword connection property in a call to SQLDriverConnect.