Sql Server Encrypt String In Python Function