Not with regards to Symantec, but there are methods of doing so via PowerShell:
https://www.interworks.com/blogs/trhymer/2013/07/08/powershell-how-encrypt-and-store-credentials-securely-use-automation-script
http://dougg.co.nz/2012/09/11/powershell-scripting-using-secure-strings-for-encrypting-passwords/
Just Google for ways of encrypting script passwords via PowerShell (assuming its Windows you're working with)