When I edit a password in ODBC Data Source through a Windows "ODBC Data Source Administrator" dialog window, the password is stored in an encrypted manner like encrypted-dp{encrypted-password} in Windows registry.
When I edit the password using odbcconf CONFIGSYSDSN, it is stored as plain text in the registry.
Is there a way to store a data source password using programmatic way/script in the same way as the Windows ODBC dialog window does?