MATLAB Answers


Hiding text of a string (like passwords)

Asked by Jethro
on 3 Dec 2011
Accepted Answer by Naz

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!

  1 Comment

Even if I used another way, you tried to help me!


No products are associated with this question.

1 Answer

Answer by Naz
on 3 Dec 2011
 Accepted answer


Right under the video there is a link to get a file.

There is a function 'KeyPress_Function' almost at the end of the script

Thanks for the indication... I'll try it and if it works, I'll accept your answer!
I'm going to sleep (in Italy are 03.00 AM) xD

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!