Service Manager / Service Center Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How to encrypt Password in Script library

SOLVED
Go to solution
Venkatasastry N
Super Collector

How to encrypt Password in Script library

Hi,

 

I am calling  doSoap/doHTTP request in script libarary, is there any method to encrypt the password from script library.

 

Is there any othere way to achieve this? Please suggest me.

 

Regards,

Sastry

5 REPLIES
anatt170407
Member

Re: How to encrypt Password in Script library

Try this,
Create an operator with user name and provide the password in the operator record. Query this operator for the user name and password in SL and assign the value to the variable and use the variable for authentication.

Let me know if it works.
Venkatasastry N
Super Collector
Solution

Re: How to encrypt Password in Script library

Hi Anatt,

 

Thanks for the reply, I tried this but  Operator's password is encrypted with some 16bit key which cannot be decrypted manually.

 

Finally I achieved this with JavaScript - Password Encryption mechanism, which is available in Service Manger Integration Manager Javascripts, same I modified for my reqs.

 

Regards,

Sastry

Piku
Honored Contributor

Re: How to encrypt Password in Script library

Hi Sastry,

can you please share the scripts?

thanks,
____________________________________
Assign Kudo, if found post useful and mark it accepted if solves the issue.
Venkatasastry N
Super Collector

Re: How to encrypt Password in Script library

Please find the attached

 

Regards,

Sastry

Highlighted
-m-
Honored Contributor

Re: How to encrypt Password in Script library

Sastry...depending on the level of security needed, please note that encoding a password does not actually secure the data (in other words, it is not the same as encrypting a password)

//Add this to "OnDomLoad" event