AnsweredAssumed Answered

get decrypted value of password field

Question asked by ananth k on Jan 7, 2016
Latest reply on Jan 7, 2016 by Bhavin Patel

I'm using sugarCRM Professional Edition. Using Web services, I was retrieving a record from a "Case" module with the "get_entry" Method Call in my Java Application. The record contains a password field. After retrieving, I'm getting encrypted value for the password field ( Field Type => Password ). But i want the decrypted value.


When i google about this issue, i found few suggestion like i have to find the encrypt key. So i can you blowfishDecode to decode it.


Example Code used in logic hook :


$passdec = blowfishDecode(blowfishGetKey('encrypt_field'),$bean->password_custom_c );


I have following doubts

how can i get the encrypt key in the web service call.

is the encrypted key saved in the database ? in which table it get saved?

Is there any other way to get the decrypted value of password field in webservice ?

Is there any other way to decrypt value of the password field ?


Please help me to solve this issue