mooEncrypt("[PASSWORD]")


Accepts a string and returns an encrypted version of the string that can be used in constructing a valid XML connection file.


The mooEncrypt function can be used to generate a password that can be copied and pasted into an XML connection file.


Note there is no decrypt equivalent function as it is anticipated that all Oracle account passwords could be reset by the local DBA.  



Syntax


               mooencrypt("[password]")



Return Value


               STRING


Example



Public Sub mooEncrypt()


'Generate an encrypted password for a connection xml file

'The Output in the VBA immediate window can be pasted in to a connection file

If Not oregistered Then:   boo = regQ:

Debug.Print o.mooEncrypt("myPasswordHere")


End Sub