MATLAB: Hiding text of a string (like passwords)

cryptingedit textguipassword

I need to set an "Edit Text" as a password input area, and I want the text entered by users is not visible, but replaced by symbols.
I think it's necessary to have two files, one with the actual passwords and one with the "encryption", in order to compare the real password and login
Do you have any idea on how to set up work?
Thanks in advance!